Guidelines for Choosing the Target Framework Version
You may configure and mix various Target Framework Versions (for example, .NET versions) for your data source and presentation projects; however, to ensure compatibility, you must follow these guidelines.
Visual Studio 2019 automatically installs support for .NET 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, and 4.7.2.
Older versions of the ePortal platform may not support all versions of .NET. Check with the administrator for the ePortal platform to confirm which versions of .NET the platform supports.
All ClearPath ePortal data source project types must target .NET 4.7.2 or 4.8.
All presentation projects that reference a ClearPath ePortal data source must target a .NET version that is greater than or equal to the data source .NET version.
If you are using ePortal with an AB Suite or EAE application, you use the ePortal Generator in AB Suite Client Tools to generate Ispec model files that you import to your ePortal data source. Your presentation projects must target a .NET version that is greater than or equal to the version of .NET used to generate these Ispec model files. Refer to Preparing to Use the AB Suite/EAE Ispec Import Dialog for more information.
In order to use a ClearPath ePortal data source project with an MVC Web presentation or a Web API presentation, the data source must target .NET 4.5 or later.
Microsoft has ended support for .Net 4.0, 4.5, and 4.5.1. You can continue to target these .Net versions, and your application will run without recompilation on a platform with .Net 4.5.2 installed. However, you should target .Net 4.5.2 or later for new projects. Refer to the following blog for more information: https://devblogs.microsoft.com/dotnet/support-ending-for-the-net-framework-4-4-5-and-4-5-1/.
Setting the Target Framework Version for New Projects
You set the Target Framework Version when you create a new project by selecting the correct .NET version on the Visual Studio Create a new Project dialog.
Changing the Target Framework Version for Existing Projects
You can change the Target Framework Version for an existing project as follows:
In Solution Explorer, right-click the project and select Properties.
In the properties dialog, change the Target Framework property.
For a data source project, the Target Framework property is found under the Project category. Refer to Data Source Project Property Pages Dialog.
For a presentation project, the Target Framework property is found on the Application tab.
Answer Yes to the confirmation message.