Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tfIgnore does not work for me in 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:

\folderA\folderB\packages  

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.

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?

like image 548
davy Avatar asked May 01 '14 20:05

davy


1 Answers

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

  1. Create a .nuget folder in your solution folder, if it doesn't exist.

  2. In the .nuget folder, create a file nuget.config with this content:

<configuration>     <solution>         <add key="disableSourceControlIntegration" value="true" />     </solution> </configuration> 
like image 66
Edward Brey Avatar answered Sep 23 '22 14:09

Edward Brey