简体   繁体   中英

Run a visual studio 2010 Windows7 project on a Windows XP machine

I have created a simple windows forms visual studio 2010 project in windows 7 32 Bit.

I need to run the .exe file in the release folder under windows xp.

What files to I need to bundle with my EXE to get this to work?

You don't need anything extra. You just need to be sure if required .NET Framework is installed on the target platform which is XP in this case. Other than that, I suggest you to use Visual Studio's Package and Deployment Wizard to make a setup. But even without Package and Deployment Wizard, if you use release output (not debug), just copying executable should be enough to run on XP platform. Be sure that you don't use anything unsupported by Windows XP (like DirectX 11, Direct2d etc.).

ps: you may need some additional files like manifest files. but that completely depends on your project. Package and Deployment Wizard should take care of these as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM