summaryrefslogtreecommitdiff
path: root/dir.common.props
diff options
context:
space:
mode:
authorAaron Robinson <arobins@microsoft.com>2019-05-10 14:07:11 -0700
committerGitHub <noreply@github.com>2019-05-10 14:07:11 -0700
commit44d22bd22ffc72ec0a89b50b7de96b45a470b1e9 (patch)
tree83a2a4b700a519d05de29d5b2dd35058a600367f /dir.common.props
parentc746a224d029f84556298893e8f2789df4bc3dda (diff)
downloadcoreclr-44d22bd22ffc72ec0a89b50b7de96b45a470b1e9.tar.gz
coreclr-44d22bd22ffc72ec0a89b50b7de96b45a470b1e9.tar.bz2
coreclr-44d22bd22ffc72ec0a89b50b7de96b45a470b1e9.zip
Properly set the nuget cache for the repo (#24505)
* Properly set the nuget cache for the repo * Change coreclr NuGet package cache from "./packages" to "./.packages"
Diffstat (limited to 'dir.common.props')
-rw-r--r--dir.common.props17
1 files changed, 11 insertions, 6 deletions
diff --git a/dir.common.props b/dir.common.props
index acd84e7bae..190cf6c6de 100644
--- a/dir.common.props
+++ b/dir.common.props
@@ -6,7 +6,17 @@
<PropertyGroup>
<CoreclrDir>$(MSBuildThisFileDirectory)</CoreclrDir>
- <PackagesDir>$(CoreclrDir)/packages</PackagesDir>
+ <PackagesDir>$(CoreclrDir)/.packages</PackagesDir>
+
+ <!-- [ARCADE_REMOVE] This property can be removed after build-tools is removed. -->
+ <PackageOutputPath>$(PackagesDir)</PackageOutputPath>
+ </PropertyGroup>
+
+ <!-- Define NuGet properties for scenarios where they aren't set. From the command line.
+ Should match Nuget.config at root. -->
+ <PropertyGroup>
+ <NuGetPackageRoot>$(PackagesDir)</NuGetPackageRoot>
+ <RestorePackagesPath>$(PackagesDir)</RestorePackagesPath>
</PropertyGroup>
<!-- Set default Configuration and Platform -->
@@ -33,9 +43,4 @@
<PlatformConfigPathPart>$(BuildOS).$(BuildArch).$(BuildType)</PlatformConfigPathPart>
</PropertyGroup>
-
- <PropertyGroup>
- <RestorePackagesPath>$(PackagesDir)</RestorePackagesPath>
- </PropertyGroup>
-
</Project>