dotnet / try-convert

Helping .NET developers port their projects to .NET Core!
MIT License
1.15k stars 153 forks source link

Try convert: displays multiple instances , without being able to pick one #426

Open fasteddys opened 2 years ago

fasteddys commented 2 years ago

Hello Try-convert to .NET core, display all the install and hangs.

theres no way to select and instance, and specifying --tfm also hangs

Cpt-Falcon commented 2 years ago

if you're trying on VS 2022 don't bother, its completely broken. You might have to install vs 2019 to use it.

AlexeyTurchaninov commented 2 years ago

@serp777 it's not necessary, he just need to install .NET 5 SDK and try-convert will work.

Cpt-Falcon commented 2 years ago

@serp777 it's not necessary, he just need to install .NET 5 SDK and try-convert will work.

Are you positive? I've tried .net core 3.1 SDK, .net 5, and .net 6 and there's always problem. Running on visual studio 2019 though made everything work great.

AlexeyTurchaninov commented 2 years ago

@Cpt-Falcon yes, it helped me. But to be honest, I had Visual Studio 2019 (without .NET 5 SDK), which I uninstalled before come to Visual Studio 2022.

flurin137 commented 2 years ago

@serp777 it's not necessary, he just need to install .NET 5 SDK and try-convert will work.

This worked fine for me without having VS 2019 installed

fasteddys commented 2 years ago

@Cpt-Falcon you are 100 correct 💯

Warning from Microsoft both visual studio & Microsoft updates, NET 5 is no longer supported

image