.NET 2005 RC1 Deployment Problem

Hello,

I built a simple Windows Forms application Managed C++  on Visual Studio 2005.  This application is really nothing more than a mockup; a form with a few controls on it.  I then built a release version and attempted to put the executable on another machine which does not have Visual Studio.  On the target machine, I installed the .NET Runtime Redistributable obtained from:

http://www.microsoft.com/downloads/details.aspx FamilyID=f832b85f-b710-49ed-92a1-b80b948aeb65&DisplayLang=en


When I attempted to run the application on the target machine, I received a file not found error.  I made sure I had the MSDAC 2.8 installed, and made sure that the runtime was the same version as the one on my development machine.

EventType clr20r3, P1 ftcebooklibrary.exe, P2 0.0.0.0, P3 435ff1b5, P4 ftcebooklibrary, P5 1.0.2125.29234, P6 435ff1b5, P7 7f, P8 6, P9 system.io.filenotfoundexception, P10 NIL.

To run my application on the target machine, I have been forced to do a full Visual Studio 2005 RC1 installation.  As long as Visual Studio is installed, the application runs just fine.

Is there a way to make an RC1 windows forms applicaiton work with the RC1 .NET 2.0 Redistributable

Thanks,
Sean



Answer this question

.NET 2005 RC1 Deployment Problem

  • wfw

    You need to install the C++ managed runtime on the machine in addition to the .NET framework and your executable.

    It should be just msvcm80.dll from your C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT directory.



  • .NET 2005 RC1 Deployment Problem