Question
Is .NET 10 supported on JetBrains-hosted build agents?
Answer
The JetBrains-hosted agents available in TeamCity Cloud now include support for .NET 10. However, there is a global.json that may need to be overridden in order to use .NET 10. It can be done with one of the following options:
-
Include a
global.jsonwith the .NET version needed for your build in the root of your project. For example:global.json
{ "sdk": { "version": "10.0.101", "rollForward": "latestPatch" } } -
Run
dotnet new globaljson --sdk-version 10.0.101 --roll-forward latestFeature --forceas a Command Line build step before your .NET steps. This creates theglobal.jsonin the working directory of your project on the build agent for use during the current build.
Comments
0 comments
Please sign in to leave a comment.