Merge commit 'master' into release/2.1
[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>fc1fbe0b638a97baf2aa3bf403a7db7dbfc0b8b5</CoreFxCurrentRef>
27     <CoreClrCurrentRef>fc1fbe0b638a97baf2aa3bf403a7db7dbfc0b8b5</CoreClrCurrentRef>
28     <BuildToolsCurrentRef>0e6f6fa6b335fa1e0c26c6f24031003cb2d48b81</BuildToolsCurrentRef>
29     <PgoDataCurrentRef>11d07e3818c16b6b43be0fc3379b9719dc0cf8b9</PgoDataCurrentRef>
30   </PropertyGroup>
31
32   <!-- Tests/infrastructure dependency versions. -->
33   <PropertyGroup>
34     <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview3-26329-05</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35     <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview3-26329-05</MicrosoftNETCorePlatformsPackageVersion>
36     <PgoDataPackageVersion>99.99.99-master-20180228-0037</PgoDataPackageVersion>
37     <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview3-26329-01</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     <CommandLineParserVersion>2.1.1</CommandLineParserVersion>
43     <VCRuntimeVersion>1.2.0</VCRuntimeVersion>
44     
45     <!-- Scenario tests install this version of Microsoft.NetCore.App, then patch coreclr binaries via xcopy. At the moment it is
46          updated manually whenever breaking changes require it to move forward, but it would be nice if we could update it automatically
47          as we do with many of the package versions above -->
48     <BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview3-26327-01</BaselineMicrosoftNetCoreAppPackageVersion>
49   </PropertyGroup>
50
51   <!-- Package versions used as toolsets -->
52   <PropertyGroup>
53     <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
54     <FeedTasksPackageVersion>2.1.0-preview3-02629-02</FeedTasksPackageVersion>
55   </PropertyGroup>
56
57   <!-- Package dependency verification/auto-upgrade configuration. -->
58   <PropertyGroup>
59     <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
60     <DependencyBranch>release/2.1</DependencyBranch>
61     <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
62   </PropertyGroup>
63
64   <!-- ILLink.Tasks package version -->
65   <PropertyGroup>
66     <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
67     <ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
68   </PropertyGroup>
69
70   <ItemGroup>
71     <RemoteDependencyBuildInfo Include="CoreFx">
72       <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
73       <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
74     </RemoteDependencyBuildInfo>
75     <RemoteDependencyBuildInfo Include="CoreClr">
76       <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
77       <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
78     </RemoteDependencyBuildInfo>
79     <RemoteDependencyBuildInfo Include="BuildTools">
80       <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
81       <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
82     </RemoteDependencyBuildInfo>
83     <RemoteDependencyBuildInfo Include="PgoData">
84       <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
85       <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
86     </RemoteDependencyBuildInfo>
87
88     <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
89       <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
90     </DependencyBuildInfo>
91
92     <XmlUpdateStep Include="CoreFx">
93       <Path>$(MSBuildThisFileFullPath)</Path>
94       <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
95       <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
96     </XmlUpdateStep>
97     <XmlUpdateStep Include="CoreFx">
98       <Path>$(MSBuildThisFileFullPath)</Path>
99       <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
100       <PackageId>Microsoft.NETCore.Platforms</PackageId>
101     </XmlUpdateStep>
102     <XmlUpdateStep Include="CoreClr">
103       <Path>$(MSBuildThisFileFullPath)</Path>
104       <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
105       <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
106     </XmlUpdateStep>
107     <UpdateStep Include="BuildTools">
108       <UpdaterType>File</UpdaterType>
109       <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
110       <PackageId>Microsoft.DotNet.BuildTools</PackageId>
111     </UpdateStep>
112     <XmlUpdateStep Include="BuildTools">
113        <Path>$(MSBuildThisFileFullPath)</Path>
114        <ElementName>FeedTasksPackageVersion</ElementName>
115        <PackageId>$(FeedTasksPackage)</PackageId>
116     </XmlUpdateStep>
117     <XmlUpdateStep Include="PgoData">
118       <Path>$(MSBuildThisFileFullPath)</Path>
119       <ElementName>PgoDataPackageVersion</ElementName>
120       <PackageId>optimization.PGO.CoreCLR</PackageId>
121     </XmlUpdateStep>
122     <UpdateStep Include="ILAsm">
123       <UpdaterType>File</UpdaterType>
124       <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
125       <PackageId>Microsoft.NETCore.ILAsm</PackageId>
126     </UpdateStep>
127   </ItemGroup>
128
129   <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
130   <ItemGroup>
131     <XUnitDependency Include="xunit"/>
132     <XUnitDependency Include="xunit.assert"/>
133     <XUnitDependency Include="xunit.core"/>
134     <XUnitDependency Include="xunit.runner.console"/>
135     <XUnitDependency Include="xunit.runner.msbuild"/>
136     <XUnitDependency Include="xunit.runner.utility"/>
137     <StaticDependency Include="@(XUnitDependency)">
138       <Version>$(XunitPackageVersion)</Version>
139     </StaticDependency>
140
141     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
142     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
143     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
144     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
145     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
146     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
147     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
148     <StaticDependency Include="@(XunitPerformanceDependency)">
149       <Version>1.0.0-alpha-build0040</Version>
150     </StaticDependency>
151
152     <XUnitPerformanceApiDependency Include="xunit.performance.api" />
153     <XUnitPerformanceApiDependency Include="xunit.performance.core" />
154     <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
155     <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
156     <StaticDependency Include="@(XUnitPerformanceApiDependency)">
157       <Version>$(XunitPerformanceApiPackageVersion)</Version>
158     </StaticDependency>
159
160     <StaticDependency Include="xunit.console.netcore">
161       <Version>$(XunitConsoleNetcorePackageVersion)</Version>
162     </StaticDependency>
163
164     <DependencyBuildInfo Include="@(StaticDependency)">
165       <PackageId>%(Identity)</PackageId>
166       <UpdateStableVersions>true</UpdateStableVersions>
167     </DependencyBuildInfo>
168   </ItemGroup>
169
170   <!-- Override isolated build dependency versions with versions from Repo API. -->
171   <Import Project="$(DotNetPackageVersionPropsPath)"
172           Condition="'$(DotNetPackageVersionPropsPath)' != ''" />
173
174 </Project>