dotnet / upgrade-assistant

A tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond
MIT License
1.11k stars 163 forks source link

No packages exist with this id in source(s) #1319

Closed MarvusMedia closed 2 years ago

MarvusMedia commented 2 years ago

Problem encountered on https://dotnet.microsoft.com/en-us/platform/upgrade-assistant/tutorial/install-upgrade-assistant Operating System: windows

Hi. I entered this command as instructed:

dotnet tool install -g --add-source 'https://api.nuget.org/v3/index.json' --ignore-failed-sources upgrade-assistant

but I got this error: (I replaced my username)

C:\Users\\AppData\Local\Temp\sni0d0cn.vxh\restore.csproj : warning NU1801: The local source 'C:\Program Files\ Microsoft Visual Studio\2022\Community\'https:\api.nuget.org\v3\index.json'' doesn't exist. C:\Users\\AppData\Local\Temp\sni0d0cn.vxh\restore.csproj : warning NU1801: The local source 'C:\Program Files\ Microsoft Visual Studio\2022\Community\'https:\api.nuget.org\v3\index.json'' doesn't exist. C:\Users\\AppData\Local\Temp\sni0d0cn.vxh\restore.csproj : warning NU1801: The local source 'C:\Program Files\ Microsoft Visual Studio\2022\Community\'https:\api.nuget.org\v3\index.json'' doesn't exist. C:\Users\\AppData\Local\Temp\sni0d0cn.vxh\restore.csproj : error NU1101: Unable to find package upgrade-assist ant. No packages exist with this id in source(s): C:\Program Files\Microsoft Visual Studio\2022\Community\'https:\api.n uget.org\v3\index.json', Microsoft Visual Studio Offline Packages The tool package could not be restored. Tool 'upgrade-assistant' failed to install.

brandonh-msft commented 2 years ago

See my comments on #1293 where we are seeing a similar issue

MarvusMedia commented 2 years ago

Thanks, Brandon. That fixed it. Maybe the page could be updated?

Best regards Marcus

On Mon, 26 Sept 2022 at 19:53, Brandon H @.***> wrote:

See my comments on #1293 https://github.com/dotnet/upgrade-assistant/issues/1293 where we are seeing a similar issue

— Reply to this email directly, view it on GitHub https://github.com/dotnet/upgrade-assistant/issues/1319#issuecomment-1258467468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVB25O7JAUDMFQAXZ5KBRNLWAHWJFANCNFSM6AAAAAAQWAV2H4 . You are receiving this because you authored the thread.Message ID: @.***>

brandonh-msft commented 2 years ago

thanks for that update, can you comment on #1293 w/ exactly what worked so we can use that as a link to the fix? thanks

MarvusMedia commented 2 years ago

Done.