I have an .NET 4 application that uses dll's (class libraries) built in different languages (one in C# and one in C++), the main application being in C#. As promised by Microsoft, the whole thing works fine, at least on my development computer.
The problem starts when you port the application to other machines. Visual Studio automatically places the referenced dll's in the release folder, so I just distribute this folder to the end users. However the program does not work on most machines (it only
does on computers that have Visual Studio 2010 already installed): when you click on the executable nothing happens, not even an error message appears.
I know that the problem is the dll's because if I compile the whole thing together, it works fine (the reason I use dll's has to do with the flexibility of re-targeting). Am I missing something when I distribute the program? Why does it work if VS is installed?
View Complete Post