QzL
❔ Incremental source generator not called with docker
Hello,
I have 2 projects (simplified):
- one sandbox .net6
- one SourceGenerator .netStandard2.0
In my SourceGenerator, I have a class called RestServicesSourceGenerator like this
And in my sandbox project, I have a reference of my SourceGenerator
When i start building my sandbox (from VS or from command line
dotnet build --no-incremental
), the IIncrementalGenerator.Initialize is executed and i can see my generated files.
When i start building from docker using this image mcr.microsoft.com/dotnet/sdk:6.0
nothing happens. 😭
When i start building from azure pipepline using vmImage: 'ubuntu-latest'
it's work 😅
If someone have an idea 🥹
Deps are :
#rosyln52 replies