1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <PackageTargetRuntime>$(MinOSForArch)-$(PackagePlatform)</PackageTargetRuntime>
5 <LongNamePlatform>$(PackagePlatform)</LongNamePlatform>
6 <LongNamePlatform Condition="'$(LongNamePlatform)'=='x64'">amd64</LongNamePlatform>
7 <CrossTargetPlatform>$(CrossTargetComponentFolder)</CrossTargetPlatform>
8 <CrossTargetPlatform Condition="'$(CrossTargetPlatform)'=='x64'">amd64</CrossTargetPlatform>
9 <LongNameSuffix>_$(LongNamePlatform)_$(LongNamePlatform)_$(MajorVersion).$(MinorVersion).$(BuildNumberMajor).0$(BuildNumberMinor)</LongNameSuffix>
10 <CrossTargetLongNameSuffix>_$(CrossTargetPlatform)_$(LongNamePlatform)_$(MajorVersion).$(MinorVersion).$(BuildNumberMajor).0$(BuildNumberMinor)</CrossTargetLongNameSuffix>
14 <NativeBinary Include="$(BinDir)clretwrc.dll" />
15 <NativeBinary Include="$(BinDir)coreclr.dll" />
16 <NativeBinary Include="$(BinDir)dbgshim.dll" />
17 <NativeBinary Include="$(BinDir)mscordaccore.dll" />
18 <NativeBinary Include="$(BinDir)mscordbi.dll" />
19 <NativeBinary Include="$(BinDir)mscorrc.debug.dll" />
20 <NativeBinary Include="$(BinDir)mscorrc.dll" />
21 <NativeBinary Include="$(BinDir)sos.dll" />
22 <NativeBinary Include="$(BinDir)System.Private.CoreLib.ni.dll" />
23 <NativeBinary Include="$(UniversalCRTSDKDir)Redist\ucrt\DLLs\$(BuildArch)\*.dll" Condition="'$(BuildType)'=='Release' AND '$(BuildArch)' != 'arm64'" />
24 <ArchitectureSpecificLibFile Include="$(BinDir)System.Private.CoreLib.dll" />
25 <ArchitectureSpecificLibFile Include="$(BinDir)SOS.NETCore.dll" />
26 <ArchitectureSpecificToolFile Include="$(BinDir)crossgen.exe" />
27 <CrossArchitectureSpecificToolFile Include="$(BinDir)$(CrossTargetComponentFolder)\crossgen.exe" />
28 <CrossArchitectureSpecificToolFile Include="$(BinDir)$(CrossTargetComponentFolder)\mscordaccore.dll" />
29 <CrossArchitectureSpecificToolFile Include="$(BinDir)$(CrossTargetComponentFolder)\mscordbi.dll" />
30 <CrossArchitectureSpecificToolFile Include="$(BinDir)$(CrossTargetComponentFolder)\sos.dll" />
32 <!-- prevent accidental inclusion in AOT projects. -->
33 <File Include="$(PlaceholderFile)">
34 <TargetPath>runtimes/$(PackageTargetRuntime)-aot/lib/netstandard1.0</TargetPath>
36 <File Include="$(PlaceholderFile)">
37 <TargetPath>runtimes/$(PackageTargetRuntime)-aot/native</TargetPath>
40 <!-- Create long-name files by including the same files again with a different target path. -->
41 <LongNameFile Include="$(BinDir)mscordaccore.dll;
43 <TargetPath>runtimes\$(PackageTargetRuntime)\native\%(FileName)$(LongNameSuffix)%(Extension)</TargetPath>
45 <LongNameFile Include="$(BinDir)$(CrossTargetComponentFolder)\mscordaccore.dll;
46 $(BinDir)$(CrossTargetComponentFolder)\sos.dll"
47 Condition="'$(HasCrossTargetComponents)'=='true'">
48 <TargetPath>tools\$(CrossTargetComponentFolder)_$(PackagePlatform)\%(FileName)$(CrossTargetLongNameSuffix)%(Extension)</TargetPath>