VSO NuGet Publisher Build Step Fails

后端 未结 3 1258
长发绾君心
长发绾君心 2021-01-01 00:33

I am using Visual Studio Online - Package Manager Preview, along with the new build system. The package manager preview adds a number of build steps, including a \"NuGet Pub

3条回答
  •  长发绾君心
    2021-01-01 01:07

    I landed here because I'm researching/configuring an internal deploy -- where I'm running my own NuGet Server (nuget.server, as opposed to visual studio online). The error was the same (or has similar text):

    Object reference not set to an instance of an object

    My solution, it turned out, was that the URL wasn't right. The correct version is: http://server-name/NuGet/api/v2/package

    For completeness, I had: http://server-name/NuGet/ which was wrong.

提交回复
热议问题