You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SourceGenerators generate content in relative file paths whereas LSP speaks absolute FilePaths. Meaning, even if the above was fixed looking up an LSP Uri/filepath wouldn't actually locate a SourceGenerated file due to the path mismatch.
(This is longer leaded) We can fix the first two issues via code changes in Roslyn but the third is a fundamental design issue related to the Razor compilers dual generated output modes.
Re [2]: suggestions that would address this were made in #51998. A suggestion in a comment on this issue would also imo result in more consistent compiler/msbuild interface regarding the directory to place generated files under
Version Used: VSMain
Steps to Reproduce:
Expected Behavior:
You get an error, and one that can be resolved after fixing it.
Actual Behavior:
And any new errors/attempts to fix errors get ignored.
Notes
@jasonmalinowski @CyrusNajmabadi and I investigated the issue and here's what we found:
RequestContext
's / handlers.Investigatory Razor issue: https://github.com/dotnet/aspnetcore/issues/32188
The text was updated successfully, but these errors were encountered: