DNT icon indicating copy to clipboard operation
DNT copied to clipboard

switch-to-project doesn't work with .net core 3.1 and net core 2.2 project

Open lethanhhuy6285 opened this issue 6 years ago • 4 comments

I just updated my VS 2019 to 16.4 and it updated net core to 3.1 automatically. when running the dnt switch-to-projects, there are a lot of errors showing.

C:\Program Files\dotnet\sdk\3.1.100\Roslyn\Microsoft.Managed.Core.targets

It works well before but after update VS, it stops working.

lethanhhuy6285 avatar Dec 17 '19 09:12 lethanhhuy6285

@RicoSuter Is this still a known issue? I have been trying to use the switcher on a .net core project and have run into some issues. I thought I would just clarify is this is an open issue still or not?

Codare avatar Dec 09 '20 11:12 Codare

I have updated the tools to the latest version and my problems have now gone away. dotnet tool update -g dnt

Codare avatar Dec 09 '20 11:12 Codare

@RicoSuter Is this still a known issue? I have been trying to use the switcher on a .net core project and have run into some issues. I thought I would just clarify is this is an open issue still or not?

last time, I tried to uninstall it and reinstall, it worked.

huylethanh avatar Dec 09 '20 11:12 huylethanh

I'm using .NET 5 now and it's working again for me. Maybe the original issue was specific to .NET Core 3.1?

johnallers avatar Dec 10 '20 13:12 johnallers