Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2006

Tip: Looking for answers? Try searching our database.

static linked Windows Forms application project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jakanapes - 19 May 2006 19:32 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.