Until recently everything worked fine, but I installed Visual Studio (15.6.3) Enterprise on top of my Visual Studio Community (15.5.X). This caused problems with existing projects (specifically with .shproj files), so I've slowly uninstalled and taken more and more drastic steps. Most recently I've:
- Uninstalled Visual Studio Community and Enterprise
- Deleted all files from AppData/Local/Microsoft/VisualStudio and AppData/Roaming/Microsoft/VisualStudio
- Restarted the computer
- Reinstalled Visual Studio 2017 (just community since that was working fine) with the following options checked:
- .NET desktop development
- Universal Windows Platform development
- Mobile development with .NET
Now if I try to make a Console App (.NET Framework), I get a popup after clicking the OK to create the new project:
Microsoft Visual Studio Could not load type 'Microsoft.Build.Framework.IProjectElement' from assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I'm unfortunately dead in the water until this is solved. Any help would be much appreciated as I'm about out of ideas.