I am trying to work in Visual Studio 2010 and whenever I try to start a new project or open an existing one, I get an error depending on the situation. I have .NET 4.0 installed, but it seems like VS2010 is trying to use .NET 2.0, as it comes up with this error:
After using Google, I delete the Registry entry for that and use .NET cleanup to remove all .NET versions. I reinstalled .NET 4.0 and tried again. Now, I get this:
I thought I found a registry fix, but it didn't work