QzL
QzL
CC#
Created by QzL on 4/25/2023 in #help
❔ 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
CC#
Created by QzL on 4/25/2023 in #help
❔ 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
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
i have created a Dockerfile with sdk 6 & sdk7 and now it's work 😄
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
thanks you
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
this is why i used Microsoft.CodeAnalysis.CSharp.Workspaces
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
it's global file props, i need to refactor this parts 🙂
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
Only SourceGenerator
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
I have only Microsoft.CodeAnalysis.CSharp on my deps
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
Microsoft.CodeAnalysis.CSharp.Workspaces ask for Microsoft.CodeAnalysis.CSharp to be on version 3.8
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
it ask for version 3.8.0 but on this version IIncrementalGeneratordoesn't exist, i should use ISourceGenerator
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
I was some error without the Common
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ 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
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
Thanks, I downgraded Microsoft.CodeAnalysis.CSharp.Workspaces to 4.2.0 and Microsoft.CodeAnalysis.Analyzers to 3.3.3 and it seem to work
52 replies
CC#
Created by QzL on 4/4/2023 in #help
❔ Incremental source generator not called with docker
52 replies