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

Microsoft.CodeAnalysis.CSharp 4.13.0 causes build error Error CS0234 : The type or namespace name .. does not exist in the namespace .. (are you missing an assembly reference?) #77472

Open
tomohisa opened this issue Mar 8, 2025 · 0 comments
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@tomohisa
Copy link

tomohisa commented Mar 8, 2025

Version Used:
Microsoft.CodeAnalysis.CSharp 4.13.0

Steps to Reproduce:

  1. clone J-Tech-Japan/Sekiban@3e81ce9
  2. ‎src/Sekiban.Pure.SourceGenerator/Sekiban.Pure.SourceGenerator.csproj 4.12.0 Microsoft.CodeAnalysis.CSharp does not raise error
  3. ‎src/Sekiban.Pure.SourceGenerator/Sekiban.Pure.SourceGenerator.csproj 4.13.0 Microsoft.CodeAnalysis.CSharp DOES raise error

A minimal repro, with source-code provided, is ideal. Most compiler/language issues can be distilled into a snippet that can be pasted into sharplab.

Image

Diagnostic Id:

If this is a report about a bug in an analyzer, please include the diagnostic ID and message if possible (e.g. "IDE0030: Use coalesce expression").

Expected Behavior:

can reference generated code.

Actual Behavior:

when I use 4.13.0, it can not reference Generated code.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

1 participant