Hi
I recently made a dll in Visual studio 2005. I went File\New\Project and under Visual C++ I picked clr for my project type. When I take the dll to another computer that does not have Visual Studio 2005 Installed my application cannot load this dll. It does load it if I install all the Visual Studio 2005 tools and the Visual Studio 2005 Services pack sP1 Team Suite. Is there a was to run my dll without haveing to install all these tools on the target machine? Even intalling the tools was not good enough it only started running after I installed the service pack.
.NET Framework (2.0 SP1) must be installed on the computer
Or you can use project type that does not require .NET and CLR (pure native C++ application).
I tried that The .NET Framework (2.0 SP1) does not seem to do the trick. The only thing that seems to work is when I install Visual Studio 2005 and then install Visual Studio Team Suit SP1. Of course this is not a solution for me. I can't intall tools on every end product to make it work. I also cannot just do a native C++ project since I have mixed code in my dll. I import the system.dll in my code and use objects in namespaces that are listed below.
#using
using
Do you know what the Visual Studio Team Suit SP1 is giving me that the .NET Framework (2.0 SP1) is not?
Hi,
What version of the dll are you using? If it is in release mode and run it on that machine, does it have the same issue?
To run this dll correctly, it needs the Visual C++ runtime components on the machine. You can download Visual C++ libraries from http://www.microsoft.com/Downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en
For more information about Understanding Dependencies of a Visual C++ Application, see http://msdn2.microsoft.com/en-us/library/ms235265(VS.80).aspx.
I hope this helps.