Open DonZombpepoGames opened 2 years ago
You might have installed the .NET 6 Runtime rather than the .NET 6 SDK. Try this: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.302-windows-x64-installer
i installed the sdk, not the runtime:
Weird. Open a command line tool and do the following:
echo %PATH%
You should have the following:
Then execute
dotnet --list-sdks
you should have one of the following:
C:\Users\******>dotnet --list-sdks
6.0.100-rc.2.21505.57 [C:\Program Files\dotnet\sdk]
6.0.101 [C:\Program Files\dotnet\sdk]
6.0.302 [C:\Program Files\dotnet\sdk]
If not, check if you have any folder with the name sdk
in C:\Program Files\dotnet
.
i have one, 6.0.302
but the console says there are not SDKs
I reinstalled and i have the same issue
C:\Users\Lenovo> dotnet --info It was not possible to find any installed .NET Core SDKs Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from: https://aka.ms/dotnet-download
Host (useful for support): Version: 3.1.23 Commit: 7af614fde0
.NET Core SDKs installed: No SDKs were found.
.NET Core runtimes installed: Microsoft.NETCore.App 3.1.23 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.23 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
←[31mERROR: Non-negative number required. (Parameter 'value')←[0m
←[31mERROR: Non-negative number required. (Parameter 'value')←[0m
???????
this is the error message in the terminal
C:\Users\Lenovo>dotnet run --project SonicHybridRsdk.Build It was not possible to find any installed .NET Core SDKs Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from: https://aka.ms/dotnet-download