Skip to content

Source generator Newtonsoft.Json FileNotFoundException #51090

Answered by NealCallaghan
onetsmr asked this question in Q&A
Discussion options

You must be logged in to vote

Checkout the csproj here https://github.com/dotnet/roslyn-sdk/blob/master/samples/CSharp/SourceGenerators/SourceGeneratorSamples/SourceGeneratorSamples.csproj also to get to debug, in your execute method of the generator write Debugger.Launch() then you can debug. VS will ask you which instance etc but you will get it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by onetsmr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants