QzL
❔ Rosyln Analyzer with Nugget Package
UP with VS in diagnose mode for build info i got
1>CSC : warning CS8032: An instance of analyzer ByTel.WinterTong.RestServices.SourceGenerator.RestServicesSourceGenerator cannot be created from C:\Users\tgicquel.nuget\packages\bytel.wintertong.restservices.sourcegenerator\0.0.20\analyzers\dotnet\cs\Winter.RS.G.dll : Exception has been thrown by the target of an invocation..
1> 1 Warning(s)
4 replies
❔ Rosyln Analyzer with Nugget Package
I finally add this line on all SourceGenerator project.
<ItemGroup>
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
Now i can see the Analyzer but still not generating code 😢
4 replies
❔ Incremental source generator not called with docker
https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md
4.3.1 is good with .net 6
52 replies
❔ Incremental source generator not called with docker
Sorry, misreading.
yeah i will try with this
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.2.0" PrivateAssets="all"/>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.2.0" PrivateAssets="all"/>
52 replies