Hi @Ben Aminnia ,
You can check the migration guide. https://learn.microsoft.com/en-us/dotnet/framework/migration-guide
if you created an application with an earlier version of the .NET Framework, you can usually upgrade it to .NET Framework 4.5 and its point versions (4.5.1 and 4.5.2), .NET Framework 4.6 and its single point versions (4.6.1 and 4.6.2), .NET Framework 4.7 and its point versions (4.7.1 and 4.7.2), or .NET Framework 4.8. Some changes in the .NET Framework require changes to your code. You may also want to take advantage of the new features in the new version.
Migration resources
Review the following documents before you migrate your app from earlier versions of .NET Framework to version 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, or 4.8:
- See Versions and Dependencies to understand the CLR version underlying each version of the .NET Framework and to review guidelines for targeting your apps successfully.
- Review Application compatibility to find out about runtime and retargeting changes that might affect your app and how to handle them.
- Review What's Obsolete in the Class Library to determine any types or members in your code that have been made obsolete, and the recommended alternatives.
- See What's New for descriptions of new features that you may want to add to your app.
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.