C
C#17h ago
Qualy

project failed to load

I created a solution and projects on my laptop and am now trying to open them on my pc. However they are not loading correctly. C:\Users\qualy\OneDrive.Howest graduaat programmeren.Programming Basics\PRB-02-Variabelen\Prb.Variables.Operators\Prb.Variables.Operators.Wpf\Prb.Variables.Operators.Wpf.csproj : error : The SDK 'Microsoft.NET.Sdk' specified could not be found. C:\Users\qualy\OneDrive.Howest graduaat programmeren.Programming Basics\PRB-02-Variabelen\Prb.Variables.Operators\Prb.Variables.Operators.Wpf\Prb.Variables.Operators.Wpf.csproj
No description
32 Replies
Angius
Angius17h ago
The SDK 'Microsoft.NET.Sdk' specified could not be found. Looks like you don't have the appropriate version of .NET SDK installed Check what version the project requires and install it
Qualy
QualyOP17h ago
do u need a restart after installation
Angius
Angius17h ago
No need, but it wouldn't hurt
Qualy
QualyOP17h ago
might be cuz I didnt download .net 8.0 allthough I can create projects with it Imma install it now tho nope same thing
Angius
Angius17h ago
dotnet --list-sdks will show you which SDKs you have
Qualy
QualyOP17h ago
in what powershell?
Angius
Angius17h ago
Sure
Qualy
QualyOP17h ago
No description
Angius
Angius17h ago
You have no SDKs installed, then dotnet --info My bet is you installed runtimes, not SDKs
Qualy
QualyOP17h ago
I pressed on sdk
Angius
Angius17h ago
Humor me, dotnet --info
Qualy
QualyOP17h ago
No description
Qualy
QualyOP17h ago
No description
Qualy
QualyOP17h ago
smth mustve went wrong
Angius
Angius17h ago
No SDKs installed
Sehra
Sehra17h ago
wrong arch, it uses 32 bit
Qualy
QualyOP17h ago
I installed x64
Sehra
Sehra16h ago
the 32 bit is earlier in the path, there was a modix command for it
Angius
Angius16h ago
$dotnetpath
MODiX
MODiX16h ago
* Open powershell in a terminal in admin mode as in the following video: https://cdn.discordapp.com/attachments/569261465463160900/1157744344183341156/20230930-1822-10.7436061.mp4 * copy/paste the following script:
iex "& { $(irm https://gist.githubusercontent.com/tebeco/5c6cc0eee8c28fad3523008d58f83914/raw/d14890f540ae74ad72d950c48f6a242e9401d31e/fix-dotnet-path.ps1) }"
iex "& { $(irm https://gist.githubusercontent.com/tebeco/5c6cc0eee8c28fad3523008d58f83914/raw/d14890f540ae74ad72d950c48f6a242e9401d31e/fix-dotnet-path.ps1) }"
in case of an invalid setup detected, it will: * tell you that it did (or not) detected an invalid Path setup * in case some action are require it will ask you to Press Enter to confirm
Angius
Angius16h ago
'ere This should fix it
Qualy
QualyOP16h ago
No description
Angius
Angius16h ago
Ye Press enter
Qualy
QualyOP16h ago
should work now or do I need to reinstall
Angius
Angius16h ago
Should work now
Qualy
QualyOP16h ago
No description
Angius
Angius16h ago
Reopen Powershell and try again
Qualy
QualyOP16h ago
o
No description
Qualy
QualyOP16h ago
worked, gonna try open
Angius
Angius16h ago
Nice
Qualy
QualyOP16h ago
yess it loaded Imma try debug it works now thanks man lifesaver Im stressed asf I just made my first website check it out: http://localhost:5183/ (Im kidding btw)
Unknown User
Unknown User15h ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?