summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2019-05-30 22:07:06 +0200
committerGitHub <noreply@github.com>2019-05-30 22:07:06 +0200
commit7e17986ff71a70ba328895e0b99e1de83d1bf5b5 (patch)
treeb421c03e2d39f8ea1628c9d0ff621ed2178b90f0 /src
parentd651f0ae68a78741b5c9c18696245035d4aba27a (diff)
downloadcoreclr-7e17986ff71a70ba328895e0b99e1de83d1bf5b5.tar.gz
coreclr-7e17986ff71a70ba328895e0b99e1de83d1bf5b5.tar.bz2
coreclr-7e17986ff71a70ba328895e0b99e1de83d1bf5b5.zip
Add build-tools.cmd (#24817)
* Add build-tools.cmd This script builds selected tools in the src/tools directory (for the time being, it builds just the runincontext tool). This is a preparation step to enable nightly runs with unloadability tests. The build-tools.cmd should build helper tools needed during test runs. * Remove the build-tools.cmd * Build the tools as part of the managed runtime build. * Update the R2RDump project to put binaries into the bin/Product/... * Update runincontext.cmd/sh scripts Reflect the new location of the runincontext binary
Diffstat (limited to 'src')
-rw-r--r--src/build.proj1
-rw-r--r--src/tools/r2rdump/R2RDump.csproj1
-rw-r--r--src/tools/runincontext/runincontext.csproj7
3 files changed, 4 insertions, 5 deletions
diff --git a/src/build.proj b/src/build.proj
index bc6e47fb3a..96b5fa19e2 100644
--- a/src/build.proj
+++ b/src/build.proj
@@ -8,6 +8,7 @@
<!-- List the projects that need to be built -->
<ItemGroup>
<ProjectReference Condition="'$(SkipSOS)' != 'true'" Include="ToolBox\SOS\NETCore\SOS.NETCore.csproj" />
+ <ProjectReference Condition="'$(BuildManagedTools)' == 'true'" Include="tools/runincontext/runincontext.csproj" />
<ProjectReference Condition="'$(BuildManagedTools)' == 'true'" Include="tools/r2rdump/R2RDump.csproj" />
<ProjectReference Include="System.Private.CoreLib\System.Private.CoreLib.csproj" />
</ItemGroup>
diff --git a/src/tools/r2rdump/R2RDump.csproj b/src/tools/r2rdump/R2RDump.csproj
index 18c2cadb8d..c0faab3ccc 100644
--- a/src/tools/r2rdump/R2RDump.csproj
+++ b/src/tools/r2rdump/R2RDump.csproj
@@ -15,6 +15,7 @@
<CLSCompliant>false</CLSCompliant>
<NoWarn>8002,NU1701</NoWarn>
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
+ <OutputPath>$(BinDir)</OutputPath>
</PropertyGroup>
<ItemGroup>
diff --git a/src/tools/runincontext/runincontext.csproj b/src/tools/runincontext/runincontext.csproj
index ee5ab21ab9..e0a3129a64 100644
--- a/src/tools/runincontext/runincontext.csproj
+++ b/src/tools/runincontext/runincontext.csproj
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
@@ -6,10 +7,6 @@
<RuntimeFrameworkVersion>$(MicrosoftNETCoreAppVersion)</RuntimeFrameworkVersion>
<UseAppHost>false</UseAppHost>
<CLRTestKind>BuildOnly</CLRTestKind>
+ <OutputPath>$(BinDir)</OutputPath>
</PropertyGroup>
-
- <ItemGroup>
- <Compile Include="runincontext.cs" />
- </ItemGroup>
-
</Project>