Issue with Referenced DLL's on compiled EXE in Visual Studio 2008

63 views Asked by At

I've written and compiled a DLL in VS2008. I've created a windows form project to test the DLL. I've added a reference to my DLL and added it to the project as a link. I have "using myDLL;" in the form. I can use the DLL classes and methods perfectly fine in the VS2008 environment, and running the Debug or Release versions work as intended.

However, I'm testing how deployment would work, but anytime I try to load the created EXE it won't load. I've made sure to stick a copy of the DLL in the folder with the EXE but it still fails to load. It's strange because it doesn't even throw an error message, it just stops working and closes. I haven't ever used assemblies before, but it was my understanding that they were unnecessary if you had references to them in the project? How can I get the EXE to work outside of the VS2008 environment?

0

There are 0 answers