Whenever I load a solution in Visual Studio with a specific project set as the startup project, I get a VSHost32.exe crash. If I keep on going and launch the application, I
Navigate to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config and remove the below setting from your machine config
<developmentModedeveloperinstallation=”true”/>
This can occur when a project's config file has developmentMode set, but the machine doesn't have a devPath set.
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
Removing that will fix it up.