I need to make the application compatible with all .NET Framework: 2, 3, 3.5 and 4.
In addition, I want to develop an application that, when running from a PC that only has Framework 2 installed, the GUI is created using Windows Forms, but if the PC uses Framework 3 or later, the GUI is executed using WPF.
I developed an application with NET 2 and Windows Forms. I tested this application with NET 3, 4 and 3.5, and it works correctly.
I recently updated the GUI using WPF, these changes were simple because I developed an interface with a data binding paradigm. This choice allowed me to easily switch from Windows Forms to WPF.
I overcame the problem of creating a single application (for Windows Forms) that should run on any wireframe platform using this guide: http://msdn.microsoft.com/it-it/library/w671swch%28v=VS.100%29. aspx .
Now I wanted to make sure that if .NET 3.5 or higher was installed on the PC, an application using a graphical user interface created using WPF.
I tried to follow some recommendations, such as http://msdn.microsoft.com/it-it/library/433ysdt1.aspx , but to no avail. I am very confused about how to act.
The application does not have to install anything on the PC, just use what is.
Thanks in advance, Talao.
source
share