|
16 | 16 | <!-- nuget--> |
17 | 17 | <PropertyGroup> |
18 | 18 | <!-- default NuGet package restore location--> |
19 | | - <NugetPackageRootCondition="'$(NugetPackageRoot)' == ''">$(UserProfile)\.nuget\packages\</NugetPackageRoot> |
| 19 | + <NuGetPackageRootCondition="'$(NuGetPackageRoot)' == ''">$(NUGET_PACKAGES)</NuGetPackageRoot> |
| 20 | + <NuGetPackageRootCondition="'$(NuGetPackageRoot)' == '' AND '$(OS)' == 'Windows_NT'">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> |
| 21 | + <NuGetPackageRootCondition="'$(NuGetPackageRoot)' == '' AND '$(OS)' != 'Windows_NT'">$(HOME)/.nuget/packages/</NuGetPackageRoot> |
| 22 | +<!-- ensure there is a trailing slash--> |
| 23 | + <NuGetPackageRootCondition="!HasTrailingSlash('$(NuGetPackageRoot)') AND '$(OS)' == 'Windows_NT'">$(NuGetPackageRoot)\</NuGetPackageRoot> |
| 24 | + <NuGetPackageRootCondition="!HasTrailingSlash('$(NuGetPackageRoot)') AND '$(OS)' != 'Windows_NT'">$(NuGetPackageRoot)/</NuGetPackageRoot> |
20 | 25 | </PropertyGroup> |
21 | 26 |
|
22 | 27 | <!-- signing--> |
|