I
Ian Lazarus
Hello,
Project = class library dll implemented in C++ as a managed wrapper around
an unmanaged class, and a small project to consume it (shown at bottom).
Running the consumer code results in the run time error message below, at
start up, before any of the consumer code runs. What does the error message
mean and how do I debug it?
"An unhandled exception of type 'System.IO.FileNotFoundException' occurred
in Unknown Module.
Additional information: File or assembly name Project, or one of its
dependencies, was not found."
I found mention of a program called "XmlSerializerPreCompiler". Supposedly
it can be used to debug errors like this, but it reported no errors on the
project assembly. Any suggestions?
Thanks
// the consumer code is:
#include "stdafx.h"
#using <mscorlib.dll>
#using "C:\Project.dll"
int _tmain()
{
// run time error message appears before this point is reached
Project::Init(); // a static class method
return 0;
}
Project = class library dll implemented in C++ as a managed wrapper around
an unmanaged class, and a small project to consume it (shown at bottom).
Running the consumer code results in the run time error message below, at
start up, before any of the consumer code runs. What does the error message
mean and how do I debug it?
"An unhandled exception of type 'System.IO.FileNotFoundException' occurred
in Unknown Module.
Additional information: File or assembly name Project, or one of its
dependencies, was not found."
I found mention of a program called "XmlSerializerPreCompiler". Supposedly
it can be used to debug errors like this, but it reported no errors on the
project assembly. Any suggestions?
Thanks
// the consumer code is:
#include "stdafx.h"
#using <mscorlib.dll>
#using "C:\Project.dll"
int _tmain()
{
// run time error message appears before this point is reached
Project::Init(); // a static class method
return 0;
}