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
I have a project with a source generator which worked with Visual Studio full, Rider and VSCode omnisharp... after upgrading this no longer works. If I build with dotnet build I have no errors but the intellisense does not recognise generated code.
Steps To Reproduce
dotnet new install hotchocolate.templates
dotnet new graphql
dotnet build
code .
In the program.cs the extension method AddTypes has squiggles. This method is created by the source generator.
Expected Behavior
Source generators work like in the previous version.
Environment Information
OS macOS
The text was updated successfully, but these errors were encountered:
@michaelstaib: I'm unable to reproduce this with v2.0.249 of the C# extension and v0.2.100 of the C# Dev Kit extension on macOS. Any chance if you're still seeing it reproduce? Generators are expected to work so if something is broken it's something a bit more subtle. There was one fix that went out today that fixed some references not loading in some situations, so it's possible that's the cause here.
From vscode-dotnettools created by michaelstaib: microsoft/vscode-dotnettools#37
Describe the Issue
I have a project with a source generator which worked with Visual Studio full, Rider and VSCode omnisharp... after upgrading this no longer works. If I build with
dotnet build
I have no errors but the intellisense does not recognise generated code.Steps To Reproduce
dotnet new install hotchocolate.templates
dotnet new graphql
dotnet build
code .
In the program.cs the extension method
AddTypes
has squiggles. This method is created by the source generator.Expected Behavior
Source generators work like in the previous version.
Environment Information
The text was updated successfully, but these errors were encountered: