diff options
author | Amy Yu <amycmyu@gmail.com> | 2018-07-02 17:45:00 -0700 |
---|---|---|
committer | Amy Yu <amycmyu@gmail.com> | 2018-07-09 11:50:19 -0700 |
commit | a5fbfa57fe7c9dc83d7f7bd4b464b97ffeed35d4 (patch) | |
tree | e7619e66ce86ea7e18cc5870b0e041c77fcf566e /src/build.proj | |
parent | 7baedfdafb6979f48026ed7e01de4b6cc14b3bba (diff) | |
download | coreclr-a5fbfa57fe7c9dc83d7f7bd4b464b97ffeed35d4.tar.gz coreclr-a5fbfa57fe7c9dc83d7f7bd4b464b97ffeed35d4.tar.bz2 coreclr-a5fbfa57fe7c9dc83d7f7bd4b464b97ffeed35d4.zip |
Add R2RDump to build.proj, running dotnet restore before target build
Diffstat (limited to 'src/build.proj')
-rw-r--r-- | src/build.proj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build.proj b/src/build.proj index 167172bb01..a207114d0f 100644 --- a/src/build.proj +++ b/src/build.proj @@ -5,6 +5,7 @@ <ItemGroup> <Project Condition="$(SkipSOS) != 'true'" Include="ToolBox\SOS\NETCore\SOS.NETCore.csproj" /> <Project Include="System.Private.CoreLib\System.Private.CoreLib.csproj" /> + <Project Condition="'$(DotNetBuildFromSource)' != 'true' AND '$(__BuildManagedTools)' == '1'" Include="tools/r2rdump/R2RDump.csproj" /> </ItemGroup> <Import Project="..\dir.targets" /> @@ -26,6 +27,11 @@ <CoreLibPDBPath>$(BinDir)System.Private.CoreLib.pdb</CoreLibPDBPath> </PropertyGroup> + <Target Name="RestoreR2RDumpPackages" Condition="'$(DotNetBuildFromSource)' != 'true' AND '$(__BuildManagedTools)' == '1'" BeforeTargets="Build"> + <Exec Command="$(DotnetRestoreCommand) tools/r2rdump/R2RDump.csproj" + StandardOutputImportance="Low" /> + </Target> + <Target Name="CopyCoreLib" AfterTargets="Build"> <Copy Condition="Exists($(CoreLibPath))" SourceFiles="@(ILToCopy)" |