Merge remote-tracking branch 'upstream/dev/defaultintf' into defaultintf-merge
[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>dev-di</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>ba3370629a028fce372283635747bbef0afa7b83</CoreFxCurrentRef>
27     <CoreClrCurrentRef>8bdd6fa078d62c0151171a6f1b69c6ed0070b353</CoreClrCurrentRef>
28     <BuildToolsCurrentRef>cc40450166c276f47ef2570520910641e9731861</BuildToolsCurrentRef>
29     <PgoDataCurrentRef>8bdd6fa078d62c0151171a6f1b69c6ed0070b353</PgoDataCurrentRef>
30   </PropertyGroup>
31
32   <!-- Tests/infrastructure dependency versions. -->
33   <PropertyGroup>
34     <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview1-26002-01</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35     <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview1-26002-01</MicrosoftNETCorePlatformsPackageVersion>
36     <PgoDataPackageVersion>99.99.99-master-20171204-0047</PgoDataPackageVersion>
37     <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview1-26004-01</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
38     <XunitPackageVersion>2.2.0-beta2-build3300</XunitPackageVersion>
39     <XunitConsoleNetcorePackageVersion>1.0.2-prerelease-00177</XunitConsoleNetcorePackageVersion>
40     <XunitPerformanceApiPackageVersion>1.0.0-beta-build0012</XunitPerformanceApiPackageVersion>
41     <MicrosoftDiagnosticsTracingTraceEventPackageVersion>1.0.3-alpha-experimental</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-02301-01</FeedTasksPackageVersion>
49   </PropertyGroup>
50
51   <!-- Package dependency verification/auto-upgrade configuration. -->
52   <PropertyGroup>
53     <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
54     <DefaultIntfDependencyBranch>dev/defaultintf</DefaultIntfDependencyBranch>
55     <DependencyBranch>master</DependencyBranch>
56     <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
57   </PropertyGroup>
58
59   <ItemGroup>
60     <RemoteDependencyBuildInfo Include="CoreFx">
61       <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DefaultIntfDependencyBranch)</BuildInfoPath>
62       <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
63     </RemoteDependencyBuildInfo>
64     <RemoteDependencyBuildInfo Include="CoreClr">
65       <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DefaultIntfDependencyBranch)</BuildInfoPath>
66       <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
67     </RemoteDependencyBuildInfo>
68     <RemoteDependencyBuildInfo Include="BuildTools">
69       <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
70       <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
71     </RemoteDependencyBuildInfo>
72     <RemoteDependencyBuildInfo Include="PgoData">
73       <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
74       <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
75     </RemoteDependencyBuildInfo>
76
77     <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
78       <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
79     </DependencyBuildInfo>
80
81     <XmlUpdateStep Include="CoreFx">
82       <Path>$(MSBuildThisFileFullPath)</Path>
83       <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
84       <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
85     </XmlUpdateStep>
86     <XmlUpdateStep Include="CoreFx">
87       <Path>$(MSBuildThisFileFullPath)</Path>
88       <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
89       <PackageId>Microsoft.NETCore.Platforms</PackageId>
90     </XmlUpdateStep>
91     <XmlUpdateStep Include="CoreClr">
92       <Path>$(MSBuildThisFileFullPath)</Path>
93       <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
94       <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
95     </XmlUpdateStep>
96     <UpdateStep Include="BuildTools">
97       <UpdaterType>File</UpdaterType>
98       <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
99       <PackageId>Microsoft.DotNet.BuildTools</PackageId>
100     </UpdateStep>
101     <XmlUpdateStep Include="BuildTools">
102        <Path>$(MSBuildThisFileFullPath)</Path>
103        <ElementName>FeedTasksPackageVersion</ElementName>
104        <PackageId>$(FeedTasksPackage)</PackageId>
105     </XmlUpdateStep>
106     <XmlUpdateStep Include="PgoData">
107       <Path>$(MSBuildThisFileFullPath)</Path>
108       <ElementName>PgoDataPackageVersion</ElementName>
109       <PackageId>optimization.PGO.CoreCLR</PackageId>
110     </XmlUpdateStep>
111     <UpdateStep Include="ILAsm">
112       <UpdaterType>File</UpdaterType>
113       <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
114       <PackageId>Microsoft.NETCore.ILAsm</PackageId>
115     </UpdateStep>
116   </ItemGroup>
117
118   <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
119   <ItemGroup>
120     <XUnitDependency Include="xunit"/>
121     <XUnitDependency Include="xunit.assert"/>
122     <XUnitDependency Include="xunit.core"/>
123     <XUnitDependency Include="xunit.runner.console"/>
124     <XUnitDependency Include="xunit.runner.msbuild"/>
125     <XUnitDependency Include="xunit.runner.utility"/>
126     <StaticDependency Include="@(XUnitDependency)">
127       <Version>$(XunitPackageVersion)</Version>
128     </StaticDependency>
129
130     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
131     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
132     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
133     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
134     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
135     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
136     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
137     <StaticDependency Include="@(XunitPerformanceDependency)">
138       <Version>1.0.0-alpha-build0040</Version>
139     </StaticDependency>
140
141     <XUnitPerformanceApiDependency Include="xunit.performance.api" />
142     <XUnitPerformanceApiDependency Include="xunit.performance.core" />
143     <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
144     <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
145     <StaticDependency Include="@(XUnitPerformanceApiDependency)">
146       <Version>$(XunitPerformanceApiPackageVersion)</Version>
147     </StaticDependency>
148
149     <StaticDependency Include="xunit.console.netcore">
150       <Version>$(XunitConsoleNetcorePackageVersion)</Version>
151     </StaticDependency>
152
153     <DependencyBuildInfo Include="@(StaticDependency)">
154       <PackageId>%(Identity)</PackageId>
155       <UpdateStableVersions>true</UpdateStableVersions>
156     </DependencyBuildInfo>
157   </ItemGroup>
158
159   <!-- Override isolated build dependency versions with versions from Repo API. -->
160   <Import Project="$(DotNetPackageVersionPropsPath)"
161           Condition="'$(DotNetPackageVersionPropsPath)' != ''" />
162
163 </Project>