I'm using Visual Studio 2005 and have a C++ CLR Console Application. It
compiles fine, but when I try to run it I get the following error
dialog:
---
An unhandled exception of type 'System.IO.FileNotFoundException'
occurred in TestProblem.exe
Additional information: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
---
When I press Break, the file shown is "mcrtexe.cpp" at this block of
code:
---
#if defined (_MANAGED_MAIN)
__set_managed_app_type();
mainret = main(arguments);
#else /* defined (_MANAGED_MAIN) */
---
The arrow showing the next statement to execute is located at "mainret
= main(arguments);"
The project is linked with both C# and C++ libraries. It has worked
before, but while doing some refactoring and adding some new library
dependencies this error started to occur. I have tried to compile and
run it on another computer, but get the same error message.
/Henrik