Hi,
It's my first issue here.
I have a SLN with the the settings as follows:
- IDE: Visual Studio 2012 - Windows Server 2008 R2 Datacenter.
- A couple of C++/CLI DLL projects called DF and FT with plataform toolset
v100 (Visual Studio 2010 compiled) and
/clr support that contains my legacy code.
- A Asp.Net MVC 4.0 DLL web project called RW that integrates with above projects availabling on the web.
Remarks:
- All projects has the same path output:
C:\projectsOut\;
- The
C:\projectsOut\ is configured in enviroment variable
PATH;
- There is no compilation problem;
- RW dll have FT and DF dll dependencies;
- FT dll have DF dll dependency;
- The tree projects has SNK files (signature);
- I has changed the DEP (data execution prevention) configuration only to the essentials Windows applications;
- The configurations of DF and FT projects were changed:
Properties > Linker > Manifest File > Generate Manifest > Yes and
Properties > Manifest Tool > Input and Output > Embed Manifest > No.
But when I run my project in debug mode, an
BadImageFormatException occurs. The description is something like that (I have translated from portuguese):
Quote:
Fail to load file or assembly 'FT.DLL' or dependencies. Access violation. (Exception HRESULT: 0x800703E6)
Details: System.BadImageFormatException: Fail to load file or assembly 'FT.DLL' or dependencies. Access violation. (Exception HRESULT: 0x800703E6)
What is wrong with my application? I think it's a security configuration, but I don't know what.
My best regards.