Why does my NuGet Gallery return 500 from nuget push?

前端 未结 5 1469
自闭症患者
自闭症患者 2020-12-31 09:33

I set up the new NuGet Gallery on a web server (under IIS 7.0) where I work. The site itself is set up and runs fine. We are able to register accounts, confirm email address

5条回答
  •  再見小時候
    2020-12-31 10:10

    In my case it was an old local nuget server. The message I found in the logs:

    The schema version of 'YourLib' is incompatible with version 'someVersion.a.b' of NuGet. Please upgrade NuGet to the latest version from http://go.microsoft.com/fwlink/?LinkId=213942.

    In my case, I downgraded nuget (downloaded an older nuget.exe) and re-created the package. The push now works. I didn't want to disturb the process elsewhere and I needed a quick solution but of course that depends on the scenario one has. In the long run I will update nuget.

提交回复
热议问题