I am waiting for a host provider to update their server version of .NET 8 from 8.0.0-rc.2.23479.6 but they are dragging their heels. Is it possible to target this specific version within Visual Studio so I can build and deploy whilst I wait for them to update their servers?
If you need/want concrete SDK to be used for build/publish then you can use global.json
to "fix" it. Install corresponding SDK and add global.json
to the project root with specific SDK version and disabled roll-forwarding:
{
"sdk": {
"version": "8.0.0-rc.2.23479.6",
"rollForward": "disable"
}
}