summaryrefslogtreecommitdiff
path: root/build.proj
diff options
context:
space:
mode:
authorDaniel Podder <dapodd@microsoft.com>2017-06-01 18:41:50 -0500
committerGitHub <noreply@github.com>2017-06-01 18:41:50 -0500
commit8f5d775cb4de2b3e765251106991940c09c0859e (patch)
tree333d3845d0529faf20bcecf5511d2b90185e5894 /build.proj
parent91329ceefd9efbde1f8486b0a098090e9a10adcb (diff)
downloadcoreclr-8f5d775cb4de2b3e765251106991940c09c0859e.tar.gz
coreclr-8f5d775cb4de2b3e765251106991940c09c0859e.tar.bz2
coreclr-8f5d775cb4de2b3e765251106991940c09c0859e.zip
Fix optdata restore functionality (#11935)
Fix optdata restore functionality (#11935) Bring back optdata restore functionality following the move to 2.0 BuildTools and csproj-based CLI. Disable a harmless warning that broke the Linux build when consuming PGO counts due to -Werr. Fix #11796 for master
Diffstat (limited to 'build.proj')
-rw-r--r--build.proj6
1 files changed, 1 insertions, 5 deletions
diff --git a/build.proj b/build.proj
index 7325e6ff30..8d15cbcd6e 100644
--- a/build.proj
+++ b/build.proj
@@ -24,12 +24,8 @@
<Delete Files="$(BinDir)System.Private.CoreLib.*" />
</Target>
- <PropertyGroup>
- <OptDataProjectJson>$(SourceDir).nuget/optdata/project.json</OptDataProjectJson>
- <OptDataPackageFeed>https://dotnet.myget.org/F/dotnet-core-optimization-data/api/v3/index.json</OptDataPackageFeed>
- </PropertyGroup>
<Target Name="RestoreOptData">
- <Exec Condition="Exists('$(OptDataProjectJson)')" Command="$(DnuRestoreCommand) &quot;$(OptDataProjectJson)&quot; --source &quot;$(OptDataPackageFeed)&quot;" />
+ <Exec Command="$(DotnetRestoreCommand) $(SourceDir).nuget/optdata/optdata.csproj" />
</Target>
<!--