Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectMetadataPaths should report an error when there is no metadata instead of returning an empty array #1260

Open
arsdragonfly opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@arsdragonfly
Copy link

Actual behavior

CsWin32 emits "Method, type or constant "xxx" not found error when metadata isn't found at all.

Expected behavior

CsWin32 should clearly state an error that the metadata cannot be found.

Repro steps

Irrelevant, but here's how I painstakingly WinDbg'd csc only to find out that the property isn't passed down to the compiler. Still need to figure out how that happened in my environment but that'll be an issue with my environment's setup.
image

Context

  • CsWin32 version: 0.3.106
  • Win32Metadata version: 60.0.34-preview
  • Target Framework: net472
  • LangVersion : 7.3
@arsdragonfly arsdragonfly added the bug Something isn't working label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant