Merge pull request #16281 from alpencolt/clr-extra-args-4-cmake
[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://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
8       https://api.nuget.org/v3/index.json;
9       $(RestoreSources)
10     </RestoreSources>
11   </PropertyGroup>
12
13   <PropertyGroup>
14     <!-- Central place to set the versions of all nuget packages produced in the repo -->
15     <PackageVersion Condition="'$(PackageVersion)' == ''">2.1.0</PackageVersion>
16
17     <!-- Set the boolean below to true to generate packages with stabilized versions -->
18     <StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
19     <StableVersion Condition="'$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(PackageVersion)</StableVersion>
20
21     <PreReleaseLabel>preview2</PreReleaseLabel>
22   </PropertyGroup>
23
24   <!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
25   <PropertyGroup>
26     <CoreFxCurrentRef>e3595665a1f18a7ebbc332285fb34cc386e6f2df</CoreFxCurrentRef>
27     <CoreClrCurrentRef>2933eeeb69055d5c85231ead3b06e90e10f9563e</CoreClrCurrentRef>
28     <BuildToolsCurrentRef>2933eeeb69055d5c85231ead3b06e90e10f9563e</BuildToolsCurrentRef>
29     <PgoDataCurrentRef>fb8aaa87581eafdad52a1997540471169cf1b6bb</PgoDataCurrentRef>
30   </PropertyGroup>
31
32   <!-- Tests/infrastructure dependency versions. -->
33   <PropertyGroup>
34     <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview2-26202-05</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35     <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview2-26202-05</MicrosoftNETCorePlatformsPackageVersion>
36     <PgoDataPackageVersion>99.99.99-master-20180131-0033</PgoDataPackageVersion>
37     <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview2-26207-11</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
38     <XunitPackageVersion>2.2.0-beta2-build3300</XunitPackageVersion>
39     <XunitConsoleNetcorePackageVersion>1.0.2-prerelease-00177</XunitConsoleNetcorePackageVersion>
40     <XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
41     <MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.4</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
42     <VCRuntimeVersion>1.2.0</VCRuntimeVersion>
43     
44     <!-- Scenario tests install this version of Microsoft.NetCore.App, then patch coreclr binaries via xcopy. At the moment it is
45          updated manually whenever breaking changes require it to move forward, but it would be nice if we could update it automatically
46          as we do with many of the package versions above -->
47     <BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview2-26131-06</BaselineMicrosoftNetCoreAppPackageVersion>
48   </PropertyGroup>
49
50   <!-- Package versions used as toolsets -->
51   <PropertyGroup>
52     <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
53     <FeedTasksPackageVersion>2.1.0-preview2-02507-02</FeedTasksPackageVersion>
54   </PropertyGroup>
55
56   <!-- Package dependency verification/auto-upgrade configuration. -->
57   <PropertyGroup>
58     <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
59     <DependencyBranch>master</DependencyBranch>
60     <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
61   </PropertyGroup>
62
63   <!-- ILLinik.Tasks package version -->
64   <PropertyGroup>
65     <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
66     <ILLinkTasksPackageVersion>0.1.4-preview-1317495</ILLinkTasksPackageVersion>
67   </PropertyGroup>
68
69   <ItemGroup>
70     <RemoteDependencyBuildInfo Include="CoreFx">
71       <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
72       <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
73     </RemoteDependencyBuildInfo>
74     <RemoteDependencyBuildInfo Include="CoreClr">
75       <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
76       <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
77     </RemoteDependencyBuildInfo>
78     <RemoteDependencyBuildInfo Include="BuildTools">
79       <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
80       <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
81     </RemoteDependencyBuildInfo>
82     <RemoteDependencyBuildInfo Include="PgoData">
83       <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
84       <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
85     </RemoteDependencyBuildInfo>
86
87     <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
88       <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
89     </DependencyBuildInfo>
90
91     <XmlUpdateStep Include="CoreFx">
92       <Path>$(MSBuildThisFileFullPath)</Path>
93       <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
94       <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
95     </XmlUpdateStep>
96     <XmlUpdateStep Include="CoreFx">
97       <Path>$(MSBuildThisFileFullPath)</Path>
98       <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
99       <PackageId>Microsoft.NETCore.Platforms</PackageId>
100     </XmlUpdateStep>
101     <XmlUpdateStep Include="CoreClr">
102       <Path>$(MSBuildThisFileFullPath)</Path>
103       <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
104       <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
105     </XmlUpdateStep>
106     <UpdateStep Include="BuildTools">
107       <UpdaterType>File</UpdaterType>
108       <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
109       <PackageId>Microsoft.DotNet.BuildTools</PackageId>
110     </UpdateStep>
111     <XmlUpdateStep Include="BuildTools">
112        <Path>$(MSBuildThisFileFullPath)</Path>
113        <ElementName>FeedTasksPackageVersion</ElementName>
114        <PackageId>$(FeedTasksPackage)</PackageId>
115     </XmlUpdateStep>
116     <XmlUpdateStep Include="PgoData">
117       <Path>$(MSBuildThisFileFullPath)</Path>
118       <ElementName>PgoDataPackageVersion</ElementName>
119       <PackageId>optimization.PGO.CoreCLR</PackageId>
120     </XmlUpdateStep>
121     <UpdateStep Include="ILAsm">
122       <UpdaterType>File</UpdaterType>
123       <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
124       <PackageId>Microsoft.NETCore.ILAsm</PackageId>
125     </UpdateStep>
126   </ItemGroup>
127
128   <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
129   <ItemGroup>
130     <XUnitDependency Include="xunit"/>
131     <XUnitDependency Include="xunit.assert"/>
132     <XUnitDependency Include="xunit.core"/>
133     <XUnitDependency Include="xunit.runner.console"/>
134     <XUnitDependency Include="xunit.runner.msbuild"/>
135     <XUnitDependency Include="xunit.runner.utility"/>
136     <StaticDependency Include="@(XUnitDependency)">
137       <Version>$(XunitPackageVersion)</Version>
138     </StaticDependency>
139
140     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
141     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
142     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
143     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
144     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
145     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
146     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
147     <StaticDependency Include="@(XunitPerformanceDependency)">
148       <Version>1.0.0-alpha-build0040</Version>
149     </StaticDependency>
150
151     <XUnitPerformanceApiDependency Include="xunit.performance.api" />
152     <XUnitPerformanceApiDependency Include="xunit.performance.core" />
153     <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
154     <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
155     <StaticDependency Include="@(XUnitPerformanceApiDependency)">
156       <Version>$(XunitPerformanceApiPackageVersion)</Version>
157     </StaticDependency>
158
159     <StaticDependency Include="xunit.console.netcore">
160       <Version>$(XunitConsoleNetcorePackageVersion)</Version>
161     </StaticDependency>
162
163     <DependencyBuildInfo Include="@(StaticDependency)">
164       <PackageId>%(Identity)</PackageId>
165       <UpdateStableVersions>true</UpdateStableVersions>
166     </DependencyBuildInfo>
167   </ItemGroup>
168
169   <!-- Override isolated build dependency versions with versions from Repo API. -->
170   <Import Project="$(DotNetPackageVersionPropsPath)"
171           Condition="'$(DotNetPackageVersionPropsPath)' != ''" />
172
173 </Project>