Need Suggestion while migrating from .Net Framework 4.6.1 to .Net

I need to convert my .Net Framework
application to .Net
. My previous one is on 4.6.1
and it also has Azure function
class library.
While checking Microsoft's tool's article - Read more . it says,
DO retarget your .NET Framework project to at least .NET Framework 4.7.2.
Can I migrate directly? Or I will have to do it in 2 steps like 4.6
to 4.7/8
and then use tool to migrate to .Net
?
Any better migration plan suggestions are also welcome.
Answer
Generally, when upgrading from .NET Framework to .NET Core you first need to upgrade to .NET Standard (1.x
-> 2.x
, or directly to 2.1
whichever is least "painful"), and then after that upgrade to whatever version of .NET (Core) you want to target. Useful links:
Enjoyed this article?
Check out more content on our blog or follow us on social media.
Browse more articles