2 ms·
I've just tried to move an existing project to this and VS complained that the SDK doesn't support this version, even though I can create new projects with .net
by viraptor 3y ago
I've just tried to move an existing project to this and VS complained that the SDK doesn't support this version, even though I can create new projects with .net8. (preview SDKs are enabled) Is that some real limitation, or is VS being weird here?
There's https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.upgradeassistant https://marketplace.visualstudio.com/items?itemName=ms-dotne... out there, but I haven't tried it yet.
- nevf1 3y agoHi, you need to make sure you're using "Visual Studio 2022 Preview", not just Visual Studio. Even with "Use Preview SDK's" enabled in the VS2022 tools and options, it will not work unless you have the preview version of Visual Studio installed. You can still create .Net8 projects in Visual Studio, but to build and run them, you will need to do it from the command line (i.e. 'dotnet run').
- viraptor 3y ago(facepalm) every time I assume that maybe I'm doing something wrong rather than VS being the weird one in the room, they have to prove me wrong...