tfIgnore在Visual Studio 2013中不适用于我 [英] tfIgnore does not work for me in Visual Studio 2013

查看:82
本文介绍了tfIgnore在Visual Studio 2013中不适用于我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力让tfIgnoreVisual 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:

\folderA\folderB\packages 

路径看起来很好,这就是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.

我缺少明显的东西吗?

推荐答案

NuGet中的错误可能导致此问题.这是解决方法:

A bug in NuGet may be causing the problem. This is the workaround:

  1. 在解决方案文件夹中创建一个.nuget文件夹(如果该文件夹不存在).

  1. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆