dotnet-how-to-debug-source-generator-vs2022
dotnet-how-to-debug-source-generator-vs2022 copied to clipboard
Instructions not working for Visual Studio 17.7.4
I follow the instructions exactly, but I get stuck at step 8:
- In Target project select the Console Application project.
For my menu, it's entirely blank:
I have the .NET Platform Compiler SDK installed in the Visual Studio Installer, so that's not the issue, and I've tried plenty of variations of parameters, including the change in #3. No dice.
The hello world source generator from here is working just fine, so the reference is working.
Does anyone know how to get this working in 17.7.4?
I've changed launchSettings.json in Properties folder as in following sample: https://github.com/martinothamar/Mediator/blob/e3f7660b42e2a9aea18d9ca21a6a720d48c34565/src/Mediator.SourceGenerator/Properties/launchSettings.json#L4
And now it works.
P.S. Also I've changed the netstandard 2.1 version to 2.0