Hello,
We are building our code on Jenkins slaves with 3.1.100 sdk installed, and our projects have a global.json with 3.1.100 specified.
While installing the 3.1.101 sdk, it's removing the previous 3.1.100 sdk. Building the same project with 3.1.100 in global.json throws the following error
Found .NET Core SDK, but did not find dotnet.dll at [C:\Program Files\dotnet\sdk\3.1.100\dotnet.dll]
So we can't have a progressive 3.1.101 version update on multiple projects, using the sames Jenkins slaves.
What is the best practice in this case ? removing the global.json in 3.1 projects ? is there a new "wildcard" feature on global json to specify 3.1.* ?
Thanks in advance
answer is : RTFM
{
"sdk": {
"version": "3.1.100",
"rollForward": "latestPatch"
}
}
What does this answer mean? What file is that, and where do I put it?