f2d67f6a406a12d53aefd27d44ccf665b6089e38
[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>24b5bc6112a79756946da87bbd6f85178fc3753d</CoreFxCurrentRef>
27     <CoreClrCurrentRef>2ac0bce5a5c8bc7a2794a7823e764a36acbb1759</CoreClrCurrentRef>
28     <BuildToolsCurrentRef>24b5bc6112a79756946da87bbd6f85178fc3753d</BuildToolsCurrentRef>
29     <PgoDataCurrentRef>24b5bc6112a79756946da87bbd6f85178fc3753d</PgoDataCurrentRef>
30   </PropertyGroup>
31
32   <!-- Tests/infrastructure dependency versions. -->
33   <PropertyGroup>
34     <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview2-26127-04</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35     <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview2-26127-04</MicrosoftNETCorePlatformsPackageVersion>
36     <PgoDataPackageVersion>99.99.99-master-20180127-0046</PgoDataPackageVersion>
37     <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview2-26128-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.2</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
42     <VCRuntimeVersion>1.2.0</VCRuntimeVersion>
43   </PropertyGroup>
44
45   <!-- Package versions used as toolsets -->
46   <PropertyGroup>
47     <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
48     <FeedTasksPackageVersion>2.1.0-prerelease-02427-01</FeedTasksPackageVersion>
49   </PropertyGroup>
50
51   <!-- Package dependency verification/auto-upgrade configuration. -->
52   <PropertyGroup>
53     <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
54     <DependencyBranch>master</DependencyBranch>
55     <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
56   </PropertyGroup>
57
58   <!-- ILLinik.Tasks package version -->
59   <PropertyGroup>
60     <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
61     <ILLinkTasksPackageVersion>0.1.4-preview-1317495</ILLinkTasksPackageVersion>
62   </PropertyGroup>
63
64   <ItemGroup>
65     <RemoteDependencyBuildInfo Include="CoreFx">
66       <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
67       <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
68     </RemoteDependencyBuildInfo>
69     <RemoteDependencyBuildInfo Include="CoreClr">
70       <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
71       <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
72     </RemoteDependencyBuildInfo>
73     <RemoteDependencyBuildInfo Include="BuildTools">
74       <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
75       <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
76     </RemoteDependencyBuildInfo>
77     <RemoteDependencyBuildInfo Include="PgoData">
78       <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
79       <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
80     </RemoteDependencyBuildInfo>
81
82     <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
83       <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
84     </DependencyBuildInfo>
85
86     <XmlUpdateStep Include="CoreFx">
87       <Path>$(MSBuildThisFileFullPath)</Path>
88       <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
89       <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
90     </XmlUpdateStep>
91     <XmlUpdateStep Include="CoreFx">
92       <Path>$(MSBuildThisFileFullPath)</Path>
93       <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
94       <PackageId>Microsoft.NETCore.Platforms</PackageId>
95     </XmlUpdateStep>
96     <XmlUpdateStep Include="CoreClr">
97       <Path>$(MSBuildThisFileFullPath)</Path>
98       <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
99       <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
100     </XmlUpdateStep>
101     <UpdateStep Include="BuildTools">
102       <UpdaterType>File</UpdaterType>
103       <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
104       <PackageId>Microsoft.DotNet.BuildTools</PackageId>
105     </UpdateStep>
106     <XmlUpdateStep Include="BuildTools">
107        <Path>$(MSBuildThisFileFullPath)</Path>
108        <ElementName>FeedTasksPackageVersion</ElementName>
109        <PackageId>$(FeedTasksPackage)</PackageId>
110     </XmlUpdateStep>
111     <XmlUpdateStep Include="PgoData">
112       <Path>$(MSBuildThisFileFullPath)</Path>
113       <ElementName>PgoDataPackageVersion</ElementName>
114       <PackageId>optimization.PGO.CoreCLR</PackageId>
115     </XmlUpdateStep>
116     <UpdateStep Include="ILAsm">
117       <UpdaterType>File</UpdaterType>
118       <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
119       <PackageId>Microsoft.NETCore.ILAsm</PackageId>
120     </UpdateStep>
121   </ItemGroup>
122
123   <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
124   <ItemGroup>
125     <XUnitDependency Include="xunit"/>
126     <XUnitDependency Include="xunit.assert"/>
127     <XUnitDependency Include="xunit.core"/>
128     <XUnitDependency Include="xunit.runner.console"/>
129     <XUnitDependency Include="xunit.runner.msbuild"/>
130     <XUnitDependency Include="xunit.runner.utility"/>
131     <StaticDependency Include="@(XUnitDependency)">
132       <Version>$(XunitPackageVersion)</Version>
133     </StaticDependency>
134
135     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
136     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
137     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
138     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
139     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
140     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
141     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
142     <StaticDependency Include="@(XunitPerformanceDependency)">
143       <Version>1.0.0-alpha-build0040</Version>
144     </StaticDependency>
145
146     <XUnitPerformanceApiDependency Include="xunit.performance.api" />
147     <XUnitPerformanceApiDependency Include="xunit.performance.core" />
148     <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
149     <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
150     <StaticDependency Include="@(XUnitPerformanceApiDependency)">
151       <Version>$(XunitPerformanceApiPackageVersion)</Version>
152     </StaticDependency>
153
154     <StaticDependency Include="xunit.console.netcore">
155       <Version>$(XunitConsoleNetcorePackageVersion)</Version>
156     </StaticDependency>
157
158     <DependencyBuildInfo Include="@(StaticDependency)">
159       <PackageId>%(Identity)</PackageId>
160       <UpdateStableVersions>true</UpdateStableVersions>
161     </DependencyBuildInfo>
162   </ItemGroup>
163
164   <!-- Override isolated build dependency versions with versions from Repo API. -->
165   <Import Project="$(DotNetPackageVersionPropsPath)"
166           Condition="'$(DotNetPackageVersionPropsPath)' != ''" />
167
168 </Project>