C#,C ++项目组合:无法加载文件或组装
-
08-10-2019 - |
题
我有2个项目的Visual Studio 2010解决方案:C#和C ++
C ++项目使用.NET Framework库并公开从C#项目引用的类。
一切都编译了FINE,C#项目Intellisence可以帮助我采用C ++暴露的方法。但是,当我尝试启动C#项目时,它会崩溃,例外:
Could not load file or assembly 'c++library.dll' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
内部例外是无效的
我试图使用 tdump
从命令行到查看库依赖项,但它以行结束:
钥匙部分:错误:带有基础0x400000的0x42213F内部错误
我该如何解决?
先感谢您!
其他提示
尝试使用 fuslogvw.exe 获取组件的完整详细信息。
不隶属于 StackOverflow