Question

I have a program in C# that was developed on a PC that has several of installed .NET frameworks, Service Packs, etc. How can I understand what are the minimal installation requirements in order to distribute the program to users? Should I start with a clean PC and test one-by-one .NET frameworks or is there a better approach?

Was it helpful?

Solution

Start by looking at the .NET version that your application is targeting.

If for example, you are targeting .NET 3.5 you will need to also include .NET 2.0

.NET 4.0 and 4.5 are self contained, so including earlier versions is not necessary for them.

You can check the version that you are targeting by going to the properties of your project (right click, properties in the solution explorer), clicking on the Build tab and looking for Target Framework

Microsoft recommends that you look for features that your application requires in the operating systems rather than look for which version of Windows you are targeting. So its better to list those out and tackle them one by one. I find this to be a bit overkill sometimes, but it does help once you get to logo certification.

OTHER TIPS

check Target Framework in your Project Properties

Note :- Step for open project Solution (Open Your Project in Visual Studio and then open solution explorer and Right click on Properties)

Some link to more Help you

1 : Retrieve Target Framework Version and Target Framework Profile from a .Net Assembly

2 : How to find the .NET framework version of a Visual Studio project?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top