Unable to restore / remove / update a NuGet package because the mentioned version is no longer available

前端 未结 5 535
野性不改
野性不改 2021-02-06 21:11

I\'m trying to give the SignalR Sample a test drive but it seems it references an old version of SignalR which is no longer available. The actual problem is that NuGet cannot re

5条回答
  •  执念已碎
    2021-02-06 22:01

    You can manually remove the dependency by:

    1. Close Visual Studio (not a hard requirement, but helpful)
    2. In text editor, remove dependency from all packages.config files
    3. Remove package from packages/ directory
    4. In text editor, remove all references to package from all .csproj files
    5. Start Visual Studio
    6. Reinstall package through NuGet

提交回复
热议问题