Skip to content

Commit 301da25

Browse files
author
synepis
authored
Ignore Nuget package directory name casing
It looks like VS2017 changed it's nuget package directory name to be capitalized. When using Ubuntu for Windows, directory name casing of NuGet package folder becomes important and detected as a change by git,. This change is to ignore regardless of casing.
1 parent 71b493f commit 301da25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

VisualStudio.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ PublishScripts/
171171
# NuGet Packages
172172
*.nupkg
173173
# The packages folder can be ignored because of Package Restore
174-
**/packages/*
174+
**/[Pp]ackages/*
175175
# except build/, which is used as an MSBuild target.
176-
!**/packages/build/
176+
!**/[Pp]ackages/build/
177177
# Uncomment if necessary however generally it will be regenerated when needed
178-
#!**/packages/repositories.config
178+
#!**/[Pp]ackages/repositories.config
179179
# NuGet v3's project.json files produces more ignorable files
180180
*.nuget.props
181181
*.nuget.targets

0 commit comments

Comments
 (0)