Migration of C# project from Visual studio 2010 to visual studio 2019

I, Tasmiya Kauser 21 Reputation points
2022-02-23T11:11:12.03+00:00

Hi,
I want to migrate the C# code(built with .Net Framework 4.0) in visual studio 2010 to Visual Studio 2019 and build the code by targeting it to .Net Framework 4.8, Can we directly migrate the code to Visual studio 2019 or we have to migrate it to intermediate versions of visual studio?

Thanks In Advance.

Developer technologies | Visual Studio | Other
Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 90,681 Reputation points
    2022-02-23T11:28:53.677+00:00

    It should work directly.
    When I open old C# projects (15-20 years old) in VS 2022, I just have to change the Target Framework, which is empty by default :

    177165-migration.gif

    1 person found this answer helpful.

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.