views:

21

answers:

2

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!

+1  A: 

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

olifozzy
+1  A: 

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

Kragen