Hi all,
I'm new to VS2005 and I'm having trouble getting my executable to run
on another machine.
It's a Windows Forms app. and both PCs have the .NET framework
installed. However, I still get the "This application has failed to
start because the application configuration is incorrect" error.
Is there a way to make the Windows Forms compile using static
libraries? From nosing around the web, it seems like this would fix
the problem.
Bruno van Dooren - 19 May 2006 21:31 GMT
> I'm new to VS2005 and I'm having trouble getting my executable to run
> on another machine.
>
> It's a Windows Forms app. and both PCs have the .NET framework
> installed. However, I still get the "This application has failed to
> start because the application configuration is incorrect" error.
The .NET 2.0 framework? because that is what VS2005 builds against.
.NET 1.x will not suffice.
Apart from that, does you app perhaps have any other dependencies?
> Is there a way to make the Windows Forms compile using static
> libraries? From nosing around the web, it seems like this would fix
> the problem.
Static linking is not suported for managed applications.
Compiling with /clr mandates the use of dynamic crt.

Signature
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"
www.fruitfruit.com - 22 May 2006 05:29 GMT
Need to run vcredist.exe on target machine.
http://blogs.msdn.com/nikolad/archive/2006/04/11/Download_location_for_VCRedist.aspx
> Hi all,
>
[quoted text clipped - 8 lines]
> libraries? From nosing around the web, it seems like this would fix
> the problem.