From 8fbf27037b1b88aaa233ef6eed8d9e902b19f819 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Wed, 2 Jul 2014 23:09:32 +0200 Subject: [PATCH] Update VisualStudio.gitignore Fixed pattern for excluding nuget packages so that it works both for top level package folder and for any lower level package folders. Re-include patterns fixed the same way. --- VisualStudio.gitignore | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index c37c7f2..b34a348 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -132,16 +132,19 @@ publish/ # NuGet Packages packages/* +**/packages/* *.nupkg -## TODO: If the tool you use requires repositories.config -## uncomment the next line +## TODO: If the tool you use *requires* repositories.config, (note that this file is normally regenerated so you should not need it in source control) +## uncomment the next two lines #!packages/repositories.config +#!**/packages/repositories.config # Enable "build/" folder in the NuGet Packages folder since # NuGet packages use it for MSBuild targets. -# This line needs to be after the ignore of the build folder +# These two line needs to be after the ignore of the build folder # (and the packages folder if the line above has been uncommented) !packages/build/ +!**/packages/build/ # Windows Azure Build Output csx/ -- GitLab