2

I just finished installing VS 2022 17.4 with .NET 7. So far so good, everything worked like a charm, in regards to the installations, updates, upgrades etc. Until, I tried to open up a .NET 6 project I was working on and realized that The Solution Explorer is not showing the contents of the Solution. I also noticed that it says (unloaded) for each solution item.

Unloaded Projects

I tried reloading the projects but I got an error like this:

SDK Resolver Error

I also tried to create another .NET 7 asp.net Core project, which in this case the behavior is different. It doesn't show the contents of the solution, like before, but the project has been created by VS2022. Of course, this isn't loaded either and I got this as a result:

Project condition

In other kind of projects, like WPF Desktop applications for instance, everything works fine!

Does anybody have a clue what is goin' on?!

Thanks in advance....

Tried another ASP.net Core with NET 7, solution didn't work. Tried to re-install the new verion. Tried buiding another kind of solution, which by the way worked as expected.

The problem must be something around ASP.net or something...

jps
  • 20,041
  • 15
  • 75
  • 79
Nick
  • 49
  • 1
  • 6

2 Answers2

2

Even after fully uninstalling Visual Studio 2022 the problem persisted.

I managed to get it to work after following this post:

https://stackoverflow.com/a/74369698/1431572

It seems that .NET 7 Preview versions are REQUIRED to be removed from the system before updating to the new .NET 7 STS.

I leave it here so that it may help someone in the future.

Nick
  • 49
  • 1
  • 6
0

i had the issue without installing .net 7. just installed it and things are working properly