【问题标题】:Nuget keeps adding repositories.config in source control (TFS) regardless of disableSourceControlIntegration flag无论 disableSourceControlIntegration 标志如何,Nuget 都会在源代码控制 (TFS) 中不断添加 repositories.config
【发布时间】:2015-07-22 16:12:49
【问题描述】:

Nuget 似乎顽固地忽略了 .nuget/nuget.config 文件中的标志。需要注意的是,没有实际的包被添加到源代码管理中,只是烦人的 repositories.config。

我可以确认我们的设置是正确的,如果我从 .nuget 文件夹中删除标志,那么也会开始添加包。

我能在这里找到的唯一一个关于我的问题的参考 - https://github.com/Haacked/NuGet/pull/2。但似乎这个拉取请求是在克隆存储库中发出的。

作为参考,我们将 VS 2013 与具有最新更新的 TFS 2013 结合使用。我们使用服务器工作区,我无法使 .tfignore 文件正常工作。

有没有人遇到过这个问题,如果有,您是如何克服的?

【问题讨论】:

    标签: visual-studio-2013 nuget nuget-package-restore


    【解决方案1】:

    我们为此使用 .tfignore 文件。这是一个关于如何做到这一点的博客: http://blog.appliedis.com/2014/11/06/excluding-files-from-team-foundation-version-control-using-tfignore-files/

    【讨论】:

      猜你喜欢
      • 2013-02-06
      • 2011-11-09
      • 1970-01-01
      • 2012-10-22
      • 2019-05-22
      • 2016-02-13
      • 2012-01-20
      • 2016-10-30
      • 2011-12-17
      相关资源
      最近更新 更多