question

ITasmiyaKauser-0998 avatar image
0 Votes"
ITasmiyaKauser-0998 asked o0-7180 commented

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

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.

dotnet-csharpvs-general
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

Castorix31 avatar image
1 Vote"
Castorix31 answered o0-7180 commented

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



migration.gif (446.2 KiB)
· 1
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.

@Castorix31
Is it possible .net 2.0 (VS 2005) to .net 4.8 (VS 2019) directly?
Thanks

0 Votes 0 ·