try-convert icon indicating copy to clipboard operation
try-convert copied to clipboard

try-convert converting .net 4.7.2 to netstandard2.0 target framework when selecting .NET Core SDK as option

Open it2008018 opened this issue 3 years ago • 0 comments

I have an old project which currently exists in V4.7.2 target framework and I am trying to convert it to .net5.0 target framework with try-convert. when I run try-convert it completes the conversion successfully without any warnings/errors. However, after conversion, the projects convert to netstandard2.0 target framework and not net5.0-windows. I also have run analyzer and it says it's fully compatible for upgrade. Any suggestion on what can be wrong and need to be changed in order to convert the project to .net core? This project doesn't contains any WCF/WPF etc files, all I have is simple classes for business logic. I also have tried to convert the same kind of sample project and that converts correctly to net5.0-windows target framework.

it2008018 avatar Nov 23 '21 04:11 it2008018