Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How can I embed .net runtime in exe application ?
 

How can I embed .net runtime in exe application ?

Hi there ,

I have build a simple application that contains windows form using visual c++ 2008 . When I run it on my PC it was ok , but on other machines that doesn’t have .net runtime I got a strange message told me to reinstall the application .

What I am trying to do is to build an application that works on any machine that doesn’t have .net runtime .

Is there a way to embed .net runtime in exe application .

Regards ,

Ahmad

Ahmad Elhoni  Thursday, July 31, 2008 6:05 PM

The answer to your question is "No."

You can't run a .Net application on a machine without installing the .Net Framework.

In your deployment, specify the appropriate version of the .Net Framework as a prerequisite and it will install it if needed for the application to run.

RobinS.

GoldMail.com

RobinDotNet  Thursday, July 31, 2008 10:14 PM

The answer to your question is "No."

You can't run a .Net application on a machine without installing the .Net Framework.

In your deployment, specify the appropriate version of the .Net Framework as a prerequisite and it will install it if needed for the application to run.

RobinS.

GoldMail.com

RobinDotNet  Thursday, July 31, 2008 10:14 PM

You can use google to search for other answers

Custom Search

More Threads

• Add a complete folder to a Setup Project
• Setup option to start installed program
• Side By Side Application error
• WSUS 3 SP1 Install failure
• Rich HTML edit control hosted in a WinForms app?
• How to access auto updater in code?
• Deploy System.Core.dll to .NET 2.0 users
• Deployment Issue: The saved State dictionary contains inconsistent data and might have been corrupted.
• Problem with UserControl Showing up in IE
• Configuring a ClickOnce deployment within a setup project