NuGet Package updates & Package.config remove issue (TF400024)

前端 未结 9 1485
不知归路
不知归路 2020-12-31 01:48

We are having issues with NuGet package updates and TFS source control integration lately. This is causing allot of hassles with our team and making us hesitate in adopting

相关标签:
9条回答
  • 2020-12-31 02:35

    All:

    If you check out code from TFS, and because the complex relationships between packages you cannot reload one or more nuget(s), here is what I did:

    1. Delete the whole solution folder.
    2. Check out code again.
    3. Right click on the solution, then click "Restore NuGet Packages"

    But just make sure the code used to work properly before last time check in.

    Thanks,

    -Yuan Z

    0 讨论(0)
  • 2020-12-31 02:44

    I had this problem too.

    To resolve that:

    1. Open your Source Control Explorer (Team Foundation)
    2. Locate the 'packages' folder of solution
    3. Make Checkin of this folder

    After this you will can Install the Nuget packages without receive TF400024 error.

    0 讨论(0)
  • 2020-12-31 02:45

    A simple check-in of the code to Visual Studio Online did the trick for me.

    0 讨论(0)
提交回复
热议问题