I trying to Migrate WPF .Net framework to WPF .netcore So I followed this guide, So I tried migrating Packages.config to PackageReference
I also follow the rule. My project is c# wpf, (NOT asp.net)
and my .Net framework verison is over 4.7.2, My visual studio version is 2019.
but, I clicked the migrate option,
There an error. But I couldn't find any solutions.
I have to migrate to .net core someone help
I tried a lot of ways to convert to .net core wpf.
Solution:
Copy files which only cs, xaml in .net framework written
Paste all that you copied at you project that you create step 0
Open your .net core project and change the project namespace as same as you pasted csharp files.
Now done!
It really, really worked for me great.