Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2020-11-17 21:20:42 +0300
committerGitHub <noreply@github.com>2020-11-17 21:20:42 +0300
commit7d6b73e97f960bc0c8b7432c0fd86934b0eb9f7e (patch)
tree496ddcf07eacfb5f0d249acad478fd1c88574db2 /eng/coredistools.targets
parented295782bf90088416ff5cc94a91cf20d92be900 (diff)
Use new CoreDisTools package (#44490)
R2RDump and GCStress use a version of coredistools produced from https://github.com/dotnet/jitutils
Diffstat (limited to 'eng/coredistools.targets')
-rw-r--r--eng/coredistools.targets15
1 files changed, 15 insertions, 0 deletions
diff --git a/eng/coredistools.targets b/eng/coredistools.targets
new file mode 100644
index 00000000000..4c999111873
--- /dev/null
+++ b/eng/coredistools.targets
@@ -0,0 +1,15 @@
+<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
+<Project>
+ <ItemGroup>
+ <PackageReference Include="Microsoft.NETCore.CoreDisTools" Version="$(MicrosoftNETCoreCoreDisToolsVersion)">
+ <ExcludeAssets>native</ExcludeAssets>
+ <GeneratePathProperty>true</GeneratePathProperty>
+ </PackageReference>
+ </ItemGroup>
+
+ <PropertyGroup>
+ <CoreDisToolsLibrary Condition="'$(TargetOS)' == 'Windows'">$(PkgMicrosoft_NETCore_CoreDisTools)\runtimes\win-$(TargetArchitecture)\native\coredistools.dll</CoreDisToolsLibrary>
+ <CoreDisToolsLibrary Condition="'$(TargetOS)' == 'Linux'">$(PkgMicrosoft_NETCore_CoreDisTools)\runtimes\linux-$(TargetArchitecture)\native\libcoredistools.so</CoreDisToolsLibrary>
+ <CoreDisToolsLibrary Condition="'$(TargetOS)' == 'OSX'">$(PkgMicrosoft_NETCore_CoreDisTools)\runtimes\osx-$(TargetArchitecture)\native\libcoredistools.dylib</CoreDisToolsLibrary>
+ </PropertyGroup>
+</Project>