Fails to show instructions of code generated by Source Generators
vvdev opened this issue · comments
That's a weird one. The extension tries to determine the csproj/assembly where the current file resides in, but can't find it.
In my understanding this would mean you are working on a .net framework project and the generated file is not visible in the solution explorer. Are those assumptions correct?
Could you provide more details please? I need to know the folder structure and the solution structure of the folder/project where the affected file belongs to.
Hello, @bert2
Project is .NET6/.NET7
Yes, code file is not visible in Solution Explorer, it is not even persisted to disk, it is behavior of C# Source Generator.
https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview
You can see/inspect such code only by navigating there using Go To Definition from callee code.
Please let me know if you need more context.
Thanks for your product and attention to issues :)
Regards.