Merge pull request #25260 from briansull/GitHub_25134
[platform/upstream/coreclr.git] / dependencies.props
1 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
3   <!-- NuGet package restore sources. -->
4   <PropertyGroup>
5     <RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'">
6       https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
7       https://dotnetfeed.blob.core.windows.net/dotnet-coreclr/index.json;
8       https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
9       https://api.nuget.org/v3/index.json;
10       $(RestoreSources)
11     </RestoreSources>
12   </PropertyGroup>
13
14   <!-- [ARCADE REMOVE] Versions.props is imported by Arcade SDK targets when building with Arcade -->
15   <Import Project="eng/Versions.props" Condition="'$(ArcadeBuild)' != 'true'" />
16
17   <!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
18   <PropertyGroup>
19     <CoreClrCurrentRef>5d3c9a7c54c1c59b764de0e2dfb6bbb4ce29476c</CoreClrCurrentRef>
20     <BuildToolsCurrentRef>00797464e62272e9c721a1854abe49ff05743bdf</BuildToolsCurrentRef>
21   </PropertyGroup>
22
23   <!-- Tests/infrastructure dependency versions. -->
24   <PropertyGroup>
25     <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview6.19280.1</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
26     <XunitPackageVersion>2.4.1-pre.build.4059</XunitPackageVersion>
27     <XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
28     <MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.43</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
29     <CommandLineParserVersion>2.2.0</CommandLineParserVersion>
30
31     <!-- Scenario tests install this version of Microsoft.NetCore.App, then patch coreclr binaries via xcopy. At the moment it is
32          updated manually whenever breaking changes require it to move forward, but it would be nice if we could update it automatically
33          as we do with many of the package versions above -->
34     <BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview3-26416-01</BaselineMicrosoftNetCoreAppPackageVersion>
35   </PropertyGroup>
36
37   <!-- Package dependency verification/auto-upgrade configuration. -->
38   <PropertyGroup>
39     <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
40     <DependencyBranch>master</DependencyBranch>
41     <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
42   </PropertyGroup>
43
44   <!-- ILLink.Tasks package version -->
45   <PropertyGroup>
46     <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
47     <ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
48   </PropertyGroup>
49
50   <ItemGroup>
51     <RemoteDependencyBuildInfo Include="CoreClr">
52       <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
53       <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
54     </RemoteDependencyBuildInfo>
55     <RemoteDependencyBuildInfo Include="BuildTools">
56       <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
57       <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
58     </RemoteDependencyBuildInfo>
59
60     <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
61       <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
62     </DependencyBuildInfo>
63
64     <XmlUpdateStep Include="CoreClr">
65       <Path>$(MSBuildThisFileFullPath)</Path>
66       <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
67       <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
68     </XmlUpdateStep>
69     <UpdateStep Include="BuildTools">
70       <UpdaterType>File</UpdaterType>
71       <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
72       <PackageId>Microsoft.DotNet.BuildTools</PackageId>
73     </UpdateStep>
74     <UpdateStep Include="ILAsm">
75       <UpdaterType>File</UpdaterType>
76       <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
77       <PackageId>Microsoft.NETCore.ILAsm</PackageId>
78     </UpdateStep>
79   </ItemGroup>
80
81   <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
82   <ItemGroup>
83     <XUnitDependency Include="xunit"/>
84     <XUnitDependency Include="xunit.assert"/>
85     <XUnitDependency Include="xunit.core"/>
86     <XUnitDependency Include="xunit.extensibility.core" />
87     <XUnitDependency Include="xunit.runner.console"/>
88     <XUnitDependency Include="xunit.runner.msbuild"/>
89     <XUnitDependency Include="xunit.runner.utility"/>
90     <StaticDependency Include="@(XUnitDependency)">
91       <Version>$(XunitPackageVersion)</Version>
92     </StaticDependency>
93
94     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
95     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
96     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
97     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
98     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
99     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
100     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
101     <StaticDependency Include="@(XunitPerformanceDependency)">
102       <Version>1.0.0-alpha-build0040</Version>
103     </StaticDependency>
104
105     <XUnitPerformanceApiDependency Include="xunit.performance.api" />
106     <XUnitPerformanceApiDependency Include="xunit.performance.core" />
107     <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
108     <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
109     <StaticDependency Include="@(XUnitPerformanceApiDependency)">
110       <Version>$(XunitPerformanceApiPackageVersion)</Version>
111     </StaticDependency>
112
113     <DependencyBuildInfo Include="@(StaticDependency)">
114       <PackageId>%(Identity)</PackageId>
115       <UpdateStableVersions>true</UpdateStableVersions>
116     </DependencyBuildInfo>
117   </ItemGroup>
118
119   <!-- Override isolated build dependency versions with versions from Repo API. -->
120   <Import Project="$(DotNetPackageVersionPropsPath)"
121           Condition="'$(DotNetPackageVersionPropsPath)' != ''" />
122
123 </Project>