TFS Get Latest Not Grabbing References

有些话、适合烂在心里 提交于 2019-12-12 10:25:52

问题


I've been having issues recently with pulling down a new copy of a repository from my TFS server. Each time I do this most(if not all) of the references are broken.

They either have to be deleted and re-added, or removed and re-installed using NuGet.

Is there a simple way to do something like a Git-Clone (Most likley Get-Latest-Recursive) so that I can pull down a repo, build it, and being working?


回答1:


Don't store NuGet packages in source control. In this scenario, chances are they are source controlled incorrectly (wrong path, partially source controlled). If you have a packages folder, delete it and create a .tfignore file (for TFVC) or a .gitignore file (for Git) and allow the packages to be restored automatically on build.



来源:https://stackoverflow.com/questions/39661958/tfs-get-latest-not-grabbing-references

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!