LethalCompanyCommunity/ModdingWiki

.NET SDK Terminal Version

HenryMigo opened this issue · 1 comments

Hi,

I thought I would leave this as a note, but when you try to create a template project via the console and you have .NET 7 & 8 installed it will throw an error if your terminal is deciding to use .NET 8.

This is solved by running this command dotnet new globaljson --sdk-version <whatever .NET 7 SDK you have>

Example of it without the <> dotnet new globaljson --sdk-version 7.0.203

This then fixes that issue with the project not generating.

Regards,

Henry Migo

Just saw the massive red box on the page about this issue.