문제

I have Visual Studio 2010 solution of 2 projects: c# and c++

c++ project using .net framework libraries and exposes class that is referenced from c# project.

Everything compiles fine and c# project intellisence helps me with methods exposed from c++. But when I try to launch c# project it crashes with exception:

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)

Inner exception is null

I tried to use tdump from command line to see library dependencies but it finishes with line:

Key to section: ERROR: internal error at 0x42213f with base 0x400000

How can I fix that?

Thank you in advance!

도움이 되었습니까?

해결책

A combination of Fusion logger (guide) and dependency walker should give the answer.

다른 팁

Try to use fuslogvw.exe to get the full details for assembly binds.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top