Reputation: 122
Hi i am new to windows forms application development, I have developed an application on visual studio 2013 which is working fine on my system. Then i published it using visual studio 2013 publish option, now i am trying to run that application on other system which has windows 7 by installing it from the setup i get after publishing it. The application doesn't install and ask to download .net 4.5 framework.
How can i make an application that is compatible with windows 7 and windows xp also using visual studio 2013.
Upvotes: 1
Views: 4485
Reputation: 107
.Net framework 4.5 is not compatible with Win XP and previous releases of windows.You need to change the vesion of framework from your visual studio.It can be changed as follows: File -> new project ->on the popped up window select .Net Framework 3.5 (or lesser) and create your desktop application.
One more thing is don't select "Maximize window" property for your form otherwise your form will get cropped when you run it on XP or Win7 etc.It is a general observation that I had.
Upvotes: 1
Reputation: 979
You can change target version , so that your application will run on Windows XP/7 .
To change the targeted version
The project unloads. When it reloads, it targets the .NET Framework version that you just chose.
Note:
After you create a Windows Store app in Visual Studio 2013, you can't change the targeted version of either Windows or the .NET Framework.
Also you may use multi targetting.
Upvotes: 2