Team Foundation Service build fails on NuGet package restore

后端 未结 10 1976
半阙折子戏
半阙折子戏 2020-12-13 02:23

I\'m having kind of an odd problem with my Team Foundation Service build. I queue it up and it starts just fine, but then it fails with the following error:



        
10条回答
  •  独厮守ぢ
    2020-12-13 03:22

    Problem Story:

    In my case, one of my teammate has used the VisualStudio 2017. There we have downgrade some nuget packages from the project file by writing versions with hands like postsharp etc. It has worked out on there and he pushed the updated code to the gitlab. On my side i have pooled the code from gitlab to my local repo and i have opened it with VisualStudio 2019 and i take this error

    Solution:

    1- I have opened the code with VisualStudio 2017 from my updated local repo and rebuilt it with it.

    2- I have closed the VisualStudio 2017 and reopened with VisualStudio 2019. Rebuild is sucessfull this time

    For all who faced

提交回复
热议问题