tfignore 在 VS 2013 中不起作用 [英] tfignore not working in VS 2013

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

问题描述

我正在将 Visual Studio 2013 与 TFS 2013 一起使用.我一直在尝试将文件夹中的所有文件都放在一个文件夹中,而不是使用 .tfignore 进行检入,并且经过数小时的搜索和尝试不同的解决方案,但没有成功.我按照说明http://msdn.microsoft.com/en-us/library/vstudio/ms245454.aspx 并且无法让它工作.任何帮助表示赞赏.

I'm using Visual studio 2013 with TFS 2013. I've been trying to get all files in a folder to not checkin using .tfignore and with hours of searching and trying different solutions with no luck. I followed the instructions http://msdn.microsoft.com/en-us/library/vstudio/ms245454.aspx and could not get it to work. Any help is appreciated.

我的项目结构大致如下:

My project structure looks something along the lines of:

  • 项目
    • 控制
    • 测试忽略
      • Class1.cs
      • Class2.cs

      我的 .tfignore 有 1 行代码:\测试忽略

      and my .tfignore has 1 line of code: \TestIgnore

      我的工作区设置为本地.

      My workspace is set to local.

      当我对 Class1.cs 进行更改时,当我签入时,Class1.cs 位于待处理的签入列表中,我认为它不应该如此.

      When I make changes to Class1.cs, when I check in, Class1.cs is in the pending check in list which I believe it should not.

      推荐答案

      我在 msdn 上问了同样的问题,得到的答复说这似乎是 VS 2013 中不支持 tfignore 的错误.我也在 msdn 上提交了一个错误,并关闭了这个问题.希望尽快修复.

      I asked the same question on msdn and got a reply saying it seems to be a bug in VS 2013 for not supporting tfignore. I submitted a bug on msdn as well and well close this question. Hopefully it will get fixed soon.

      这篇关于tfignore 在 VS 2013 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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