How to support multiple .NET framework versions in a project file like Release_4.6, Release_4.8

MuruganA

New member
Joined
Jan 21, 2021
Messages
1
Programming Experience
10+
Team,

I have a Windows form project (.Net Framework)
I wanted to support multiple framework like .Net Framework 4.6, Net Framework 4.8.
I want to switch it by the configuration like Release_4.6, Release_4.8

Kindly give me some sample for this.

Regards,
Murugan A
 
If you don't mind compiling on the commandline, you can use MSBuild.exe or DevEnv.exe with some arguments to indicate which build flavor(s) you want, and those targets will be created.

Within the GUI, you can use the Build Manager to declare the different flavors, and there is a menu option to build all of them.
 
Back
Top Bottom