logoalt Hacker News

jdthediscipleyesterday at 2:35 PM2 repliesview on HN

Actually not that complicated: You simply check in a global.json [0] where you specify the sdk and workload versions.

Then you also specify target platform sdk versions in the .csproj file and VS will automatically prompt the developer to install the correct toolchain.

[0] https://learn.microsoft.com/en-us/dotnet/core/tools/global-j...


Replies

jcotton42yesterday at 3:35 PM

global.json is only for .NET toolchains.

What you’re actually wanting here is .vsconfig https://learn.microsoft.com/en-us/visualstudio/install/impor...

huflungdungyesterday at 2:42 PM

[dead]