how to resolve “Unable to find package” nuget error

后端 未结 5 973
囚心锁ツ
囚心锁ツ 2021-01-05 02:21

Working on creating a nuget pkg for a project (A.csproj) which depends on another project (B.csprojec) added as a project reference.
Here is the .nuspec ,



        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 03:06

    for me: %appdata%\NuGet\NuGet.Config contained only

    after doing

    nuget sources add -Name "NuGet official package source" -Source "https://api.nuget.org/v3/index.json"
    

    this was added

      
        
        
      
    

    afterwards packeges were found.

提交回复
热议问题