9 July, 2015
0 Comments
1 category
I didn’t want to add the NuGet packages of my Visual Studio solution to TFS, because I download all NuGet packages during build.
To exclude all NuGet packages from TFS:
- Add a folder “.nuget” to the folder that also contains the “packages” folder and in most cases the “solution file”.
- add a file to the “.nuget” folder with the name “NuGet.config”
- contents of the file:
- Add a file “.tfignore” to the folder that also contains the “packages” folder and in most cases the “solution file”.
- contents of the file:
- \packages
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
More information: http://stackoverflow.com/questions/26604506/tfs-vs-2013-ignore-all-nuget-packages
Tags: TFS
Category: Uncategorized