1 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <!-- NuGet package restore sources. -->
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;
14 <!-- Central place to set the versions of all nuget packages produced in the repo -->
15 <PackageVersion Condition="'$(PackageVersion)' == ''">2.1.0</PackageVersion>
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>
21 <PreReleaseLabel>preview2</PreReleaseLabel>
24 <!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
26 <CoreFxCurrentRef>2dc3a4bd1718e1d75f4c3c00203c90e4e1dd0010</CoreFxCurrentRef>
27 <CoreClrCurrentRef>2dc3a4bd1718e1d75f4c3c00203c90e4e1dd0010</CoreClrCurrentRef>
28 <BuildToolsCurrentRef>fb8aaa87581eafdad52a1997540471169cf1b6bb</BuildToolsCurrentRef>
29 <PgoDataCurrentRef>fb8aaa87581eafdad52a1997540471169cf1b6bb</PgoDataCurrentRef>
32 <!-- Tests/infrastructure dependency versions. -->
34 <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview2-26201-05</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35 <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview2-26201-05</MicrosoftNETCorePlatformsPackageVersion>
36 <PgoDataPackageVersion>99.99.99-master-20180131-0033</PgoDataPackageVersion>
37 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview2-26201-05</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>
45 <!-- Package versions used as toolsets -->
47 <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
48 <FeedTasksPackageVersion>2.1.0-preview2-02431-05</FeedTasksPackageVersion>
51 <!-- Package dependency verification/auto-upgrade configuration. -->
53 <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
54 <DependencyBranch>master</DependencyBranch>
55 <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
58 <!-- ILLinik.Tasks package version -->
60 <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
61 <ILLinkTasksPackageVersion>0.1.4-preview-1317495</ILLinkTasksPackageVersion>
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>
82 <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
83 <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
84 </DependencyBuildInfo>
86 <XmlUpdateStep Include="CoreFx">
87 <Path>$(MSBuildThisFileFullPath)</Path>
88 <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
89 <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
91 <XmlUpdateStep Include="CoreFx">
92 <Path>$(MSBuildThisFileFullPath)</Path>
93 <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
94 <PackageId>Microsoft.NETCore.Platforms</PackageId>
96 <XmlUpdateStep Include="CoreClr">
97 <Path>$(MSBuildThisFileFullPath)</Path>
98 <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
99 <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
101 <UpdateStep Include="BuildTools">
102 <UpdaterType>File</UpdaterType>
103 <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
104 <PackageId>Microsoft.DotNet.BuildTools</PackageId>
106 <XmlUpdateStep Include="BuildTools">
107 <Path>$(MSBuildThisFileFullPath)</Path>
108 <ElementName>FeedTasksPackageVersion</ElementName>
109 <PackageId>$(FeedTasksPackage)</PackageId>
111 <XmlUpdateStep Include="PgoData">
112 <Path>$(MSBuildThisFileFullPath)</Path>
113 <ElementName>PgoDataPackageVersion</ElementName>
114 <PackageId>optimization.PGO.CoreCLR</PackageId>
116 <UpdateStep Include="ILAsm">
117 <UpdaterType>File</UpdaterType>
118 <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
119 <PackageId>Microsoft.NETCore.ILAsm</PackageId>
123 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
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>
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>
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>
154 <StaticDependency Include="xunit.console.netcore">
155 <Version>$(XunitConsoleNetcorePackageVersion)</Version>
158 <DependencyBuildInfo Include="@(StaticDependency)">
159 <PackageId>%(Identity)</PackageId>
160 <UpdateStableVersions>true</UpdateStableVersions>
161 </DependencyBuildInfo>
164 <!-- Override isolated build dependency versions with versions from Repo API. -->
165 <Import Project="$(DotNetPackageVersionPropsPath)"
166 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />