Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run application using .net framework 2 1

Status
Not open for further replies.

swetham

Programmer
May 5, 2010
257
DE
I have created a application in vs 2008. Now i need to reun the application on other machines in which .net framework 2 is installed. How to do this?
 

Open your application in Visual Studio 2008, click the Project menu and select "<Project Name> Properties..." (use your actual project name for <Project Name>). In the Properties window, select Compile on the left, then click the "Advanced Compile Options" button at the bottom of the Compile screen. At the bottom of the Advanced Compiler Options dialog there is a dropdown labeled "Target Framework (all configurations)". Select the target framework you want, save and recompile the project and you're done.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Thank you so much it is working perfectly. This forum is really helping me a lot. I have never received immediate replies in any other forum
 
Sorry , If i create a setup file it is not getting installed ,it is asking for .net framework 3.5. If i run the exe without creating setup it is working. Please help me
 

Again, go to the Project menu and select "<Project Name> Properties...", then select Publish on the left. In the Publish page, click the button labeled "Prerequisites...". In the dialog that appears, uncheck ".NET Framework 3.5" and/or ".NET Framework 3.5 SP1" and check the box for ".NET Framework 2.0 (x86)". I believe that should take care of the problem.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
1) I have created a simple setup project with no exe placed in it, then it is getting installed
2) The required exe when run seperately is working
3) But when the exe is added in the setup project it is not getting installed.

I have done all the steps mentioned in the previous replies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top