❔ Visual Studio not detecting .NET 7
I have installed the .NET 7 SDK, but its not showing up (I have run
dotnet sdk check
)25 Replies
Run
dotnet --info
and dotnet --list-sdks
Also, what version of VS is it?dotnet --info
dotnet --list-sdks
Visual studio community 2022
And the whole output of the info?
I think I know what it could be...
Check your environmental variables, the
Path
one to be precise
And make sure the path to the x64 version of dotnet is above the x86 oneIt is
Huh
Do you have any pending updates to VS? If so, update it maybe?
If not... create a project with
dotnet new
, open it with VS and see what happens?
Or create a 6.0 project, edit the framework version in the csproj file, and see what happens?Nothing resolves anymore
Can't run it either
Huh
Besides updating VS, no idea
Does it run with
dotnet run
?Let me check
Yes it does
A case of VS being fucky-wucky then
Any way to fix that
17.7.5 is the most recent version, is that the one you have?
17.1.3
Update
I have to clean up stuff first
Go ahead and do that, then
WizTree - The Fastest Disk Space Analyzer
Official WizTree web site. WizTree is the fastest disk space analyzer available for Windows. It reads the Master File Table (MFT) directly from the disk, bypassing Windows and gaining a huge performance boost.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.