jce*_*gin 5 debugging comexception vshost32 visual-studio
每当我在Visual Studio中加载一个特定项目设置为启动项目的解决方案时,我就会遇到VSHost32.exe崩溃.如果我继续并启动应用程序,我会得到一个COMException:
{"Invalid value for registry (Exception from HRESULT: 0x80040153 (REGDB_E_INVALIDVALUE))"}
Run Code Online (Sandbox Code Playgroud)
使用堆栈跟踪:
at System.Runtime.InteropServices.RuntimeEnvironment.GetDeveloperPath()
at System.AppDomain.SetupFusionStore(AppDomainSetup info)
at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)
Run Code Online (Sandbox Code Playgroud)
jce*_*gin 10
当项目的配置文件设置了developmentMode但机器没有设置devPath时,可能会发生这种情况.
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
Run Code Online (Sandbox Code Playgroud)
删除它将修复它.
| 归档时间: |
|
| 查看次数: |
1773 次 |
| 最近记录: |