C
C#2w ago
kikada

Scaffold item error

Everytime i want to add a scaffold item i get this error for some reason... But i already installed that specific .net version
No description
3 Replies
cje
cje2w ago
is the NET path enviromental variable correctly set up? def weird bug you have here can you confirm you got the latest version of NET did you try to restart your pc?
kikada
kikadaOP2w ago
I already did It a school project like they give you the zip and you need to add things but most likely made on windows and i run macos so But ig the problem has something to do with the codegenerator it says i need .net 8 but i have 9 i already installed 8 but still not working and also updated the codegenerator
SteveTheMadLad
Hmm, that link takes you to a page suggesting to download the .NET 8 runtime, not the SDK which, if you're here, I'm guessing you need (and is this one: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.404-macos-arm64-installer) What command are you trying to execute, and if it begins with dotnet, does adding --roll-forward LatestMajor do anything for you? Deleting all the bin and obj directories might help too.
Want results from more Discord servers?
Add your server