Our great sponsors
-
CodeGeneration.Roslyn
Discontinued Assists in performing Roslyn-based code generation during a build.
-
virtual-environments
Discontinued GitHub Actions runner images [Moved to: https://github.com/actions/runner-images]
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
About a week or so ago lots of our builds were failing, MS had changed something and we were getting this sort of thing: [error]C:\Users\VssAdministrator\.nuget\packages\codegeneration.roslyn.buildtime\0.6.1\build\CodeGeneration.Roslyn.BuildTime.targets(73,5): Error CGR1001: CodeGeneration.Roslyn.Tool (dotnet-codegen) is not available, code generation won't run. Please check https://github.com/AArnott/CodeGeneration.Roslyn for usage instructions. However was able to solve this by explicitily adding a task to include the netcore2.1 sdk yml - task: UseDotNet@2 inputs: packageType: 'sdk' version: '2.x'
As mentioned in this GitHub issue, the issue seems to affect only windows-2022 image. You can use the following script to install .NETFramework 4.6.1 to the agent.