VSHost crash, REGDB_E_INVALIDVALUE loading Specific Project

前端 未结 2 1545
星月不相逢
星月不相逢 2021-01-18 10:21

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

相关标签:
2条回答
  • 2021-01-18 10:23

    Navigate to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config and remove the below setting from your machine config

    <developmentModedeveloperinstallation=”true”/>

    0 讨论(0)
  • 2021-01-18 10:39

    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.

    0 讨论(0)
提交回复
热议问题