question

o0-7180 avatar image
0 Votes"
o0-7180 asked LanHuang-MSFT answered

Upgrade .Net framework 2.0 to latest version

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?

dotnet-csharpdotnet-aspnet-webforms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LanHuang-MSFT avatar image
0 Votes"
LanHuang-MSFT answered

Hi @o0-7180,
You can check the documentation of the migration guide.
https://docs.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://docs.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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.