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
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
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.