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>rc1</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>6bf02f0d943a07b4af784865af6b6438c528c0b2</CoreFxCurrentRef>
27 <CoreClrCurrentRef>6bf02f0d943a07b4af784865af6b6438c528c0b2</CoreClrCurrentRef>
28 <BuildToolsCurrentRef>6bf02f0d943a07b4af784865af6b6438c528c0b2</BuildToolsCurrentRef>
29 <PgoDataCurrentRef>6bf02f0d943a07b4af784865af6b6438c528c0b2</PgoDataCurrentRef>
32 <!-- Tests/infrastructure dependency versions. -->
34 <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-rc1-26419-03</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35 <MicrosoftNETCorePlatformsPackageVersion>2.1.0-rc1-26419-03</MicrosoftNETCorePlatformsPackageVersion>
36 <PgoDataPackageVersion>2.1.0-release-20180419-0038</PgoDataPackageVersion>
37 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-rc1-26419-03</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>
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>
51 <!-- Package versions used as toolsets -->
53 <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
54 <FeedTasksPackageVersion>2.1.0-rc1-02719-01</FeedTasksPackageVersion>
57 <!-- Publish symbol build task package -->
59 <PublishSymbolsPackage>Microsoft.SymbolUploader.Build.Task</PublishSymbolsPackage>
60 <PublishSymbolsPackageVersion>1.0.0-beta-62806-01</PublishSymbolsPackageVersion>
63 <!-- Package dependency verification/auto-upgrade configuration. -->
65 <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
66 <DependencyBranch>release/2.1</DependencyBranch>
67 <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
70 <!-- ILLink.Tasks package version -->
72 <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
73 <ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
77 <RemoteDependencyBuildInfo Include="CoreFx">
78 <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
79 <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
80 </RemoteDependencyBuildInfo>
81 <RemoteDependencyBuildInfo Include="CoreClr">
82 <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
83 <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
84 </RemoteDependencyBuildInfo>
85 <RemoteDependencyBuildInfo Include="BuildTools">
86 <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
87 <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
88 </RemoteDependencyBuildInfo>
89 <RemoteDependencyBuildInfo Include="PgoData">
90 <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
91 <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
92 </RemoteDependencyBuildInfo>
94 <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
95 <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
96 </DependencyBuildInfo>
98 <XmlUpdateStep Include="CoreFx">
99 <Path>$(MSBuildThisFileFullPath)</Path>
100 <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
101 <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
103 <XmlUpdateStep Include="CoreFx">
104 <Path>$(MSBuildThisFileFullPath)</Path>
105 <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
106 <PackageId>Microsoft.NETCore.Platforms</PackageId>
108 <XmlUpdateStep Include="CoreClr">
109 <Path>$(MSBuildThisFileFullPath)</Path>
110 <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
111 <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
113 <UpdateStep Include="BuildTools">
114 <UpdaterType>File</UpdaterType>
115 <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
116 <PackageId>Microsoft.DotNet.BuildTools</PackageId>
118 <XmlUpdateStep Include="BuildTools">
119 <Path>$(MSBuildThisFileFullPath)</Path>
120 <ElementName>FeedTasksPackageVersion</ElementName>
121 <PackageId>$(FeedTasksPackage)</PackageId>
123 <XmlUpdateStep Include="PgoData">
124 <Path>$(MSBuildThisFileFullPath)</Path>
125 <ElementName>PgoDataPackageVersion</ElementName>
126 <PackageId>optimization.PGO.CoreCLR</PackageId>
128 <UpdateStep Include="ILAsm">
129 <UpdaterType>File</UpdaterType>
130 <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
131 <PackageId>Microsoft.NETCore.ILAsm</PackageId>
135 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
137 <XUnitDependency Include="xunit"/>
138 <XUnitDependency Include="xunit.assert"/>
139 <XUnitDependency Include="xunit.core"/>
140 <XUnitDependency Include="xunit.runner.console"/>
141 <XUnitDependency Include="xunit.runner.msbuild"/>
142 <XUnitDependency Include="xunit.runner.utility"/>
143 <StaticDependency Include="@(XUnitDependency)">
144 <Version>$(XunitPackageVersion)</Version>
147 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
148 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
149 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
150 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
151 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
152 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
153 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
154 <StaticDependency Include="@(XunitPerformanceDependency)">
155 <Version>1.0.0-alpha-build0040</Version>
158 <XUnitPerformanceApiDependency Include="xunit.performance.api" />
159 <XUnitPerformanceApiDependency Include="xunit.performance.core" />
160 <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
161 <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
162 <StaticDependency Include="@(XUnitPerformanceApiDependency)">
163 <Version>$(XunitPerformanceApiPackageVersion)</Version>
166 <StaticDependency Include="xunit.console.netcore">
167 <Version>$(XunitConsoleNetcorePackageVersion)</Version>
170 <DependencyBuildInfo Include="@(StaticDependency)">
171 <PackageId>%(Identity)</PackageId>
172 <UpdateStableVersions>true</UpdateStableVersions>
173 </DependencyBuildInfo>
176 <!-- Override isolated build dependency versions with versions from Repo API. -->
177 <Import Project="$(DotNetPackageVersionPropsPath)"
178 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />