tfIgnore 在 Visual Studio 2013 中对我不起作用 [英] tfIgnore does not work for me in Visual Studio 2013
问题描述
我正在努力让 tfIgnore
在 Visual Studio 2013
中工作.
I am pulling my hair out with trying to get tfIgnore
to work in Visual Studio 2013
.
我按照此处的说明操作:本文底部和像这样排除我的包文件:
I followed the instructions here: bottom of this article and excluded my packages file like this:
folderAfolderBpackages
路径看起来不错,是 Visual Studio 为我生成的.我已将该文件签入 Visual Studio 生成它的位置并尝试重建,但所有包仍然出现在我的 included changes
文件夹中的待定更改中.
The path looks fine and is what Visual Studio generated for me. I have checked the file in to the place where Visual Studio generated it and tried rebuilding but the packages all still appear in my included changes
folder in pending changes.
我尝试了文件位置和 filespec 命令的各种其他组合,但似乎什么都没做.
I've tried all sorts of other combinations of file locations and filespec commands but it never seems to do anything.
我是否遗漏了一些明显的东西?
Am I missing something obvious?
推荐答案
NuGet 中的一个错误可能导致了该问题.这是解决方法:
A bug in NuGet may be causing the problem. This is the workaround:
在解决方案文件夹中创建一个
.nuget
文件夹(如果它不存在).
Create a
.nuget
folder in your solution folder, if it doesn't exist.
在 .nuget
文件夹中,创建一个包含以下内容的文件 nuget.config
:
In the .nuget
folder, create a file nuget.config
with this content:
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
这篇关于tfIgnore 在 Visual Studio 2013 中对我不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!