From 8fbf27037b1b88aaa233ef6eed8d9e902b19f819 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Wed, 2 Jul 2014 23:09:32 +0200 Subject: [PATCH 1/2] 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 c37c7f24..b34a3481 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/ From bf7031505fe5b53dfd48a6c5d7dd6e32043022d1 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Sat, 5 Jul 2014 11:12:43 +0200 Subject: [PATCH 2/2] Update VisualStudio.gitignore Removed the separate top-level patterns for NuGet in accordance with comments in PR. Will now match version 2.0.1. --- VisualStudio.gitignore | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index b34a3481..c6ec875f 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -131,19 +131,16 @@ publish/ *.pubxml # NuGet Packages -packages/* **/packages/* *.nupkg ## 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 +## uncomment the next line #!**/packages/repositories.config # Enable "build/" folder in the NuGet Packages folder since # NuGet packages use it for MSBuild targets. -# These two line needs to be after the ignore of the build folder +# This 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