Upgrade .Net framework 2.0 to latest version

Yee Mon Zaw 31 Reputation points
2022-05-24T02:33:37.117+00:00

My current project is .Net Web Form with .Net framework 2.0 version (Visual Studio 2005).
I want to change .Net framework latest version (with Visual Studio 2019).
Is this possible 2.0 to 4.8 directly.
Or, should I change to another version (like 3.* ) firstly? After that change to 4.8?
If you have experience like that, any advices and documentation please?

Developer technologies | ASP.NET | Other
Developer technologies | C#
{count} vote

Accepted answer
  1. Lan Huang-MSFT 30,186 Reputation points Microsoft External Staff
    2022-05-24T08:13:08.943+00:00

    Hi @Yee Mon Zaw ,
    You can check the documentation of the migration guide.
    https://learn.microsoft.com/en-us/dotnet/framework/migration-guide
    I suggest you create a new project with .Net framework 4.8 and try copy-pasting the code.
    There are significant differences between .NET versions, and if you migrate, you may encounter many unknown issues.
    You can check Application Compatibility in .NET Framework in Migration Guide.
    https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/application-compatibility
    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.