- I have a
global.json setting like below:
"sdk": {
"version": "8.0.300",
"rollForward": "latestMajor",
"allowPrerelease": false
}
- I have both .net 8 SDK and .net 9 SDK installed.
slngen version is 12.0.15
When I ran slngen, I got error message SlnGen does not currently support the .NET SDK 9.0.202 defined by in global.json. I changed rollForward to latestMinor to force using .net 8 SDK, which resolves the problem. But I checked the release history and found even .net 10 preview is supported. So, I'm wondering maybe this is a bug?
global.jsonsetting like below:slngenversion is12.0.15When I ran
slngen, I got error messageSlnGen does not currently support the .NET SDK 9.0.202 defined by in global.json. I changedrollForwardtolatestMinorto force using .net 8 SDK, which resolves the problem. But I checked the release history and found even .net 10 preview is supported. So, I'm wondering maybe this is a bug?