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>preview1</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>9ae164e18c0c297448a68d199374d5bff725c9fc</CoreFxCurrentRef>
27 <CoreClrCurrentRef>9ae164e18c0c297448a68d199374d5bff725c9fc</CoreClrCurrentRef>
28 <BuildToolsCurrentRef>c4d2b4cae431fc1463a140d671a2fdbe18c2199a</BuildToolsCurrentRef>
29 <PgoDataCurrentRef>9ae164e18c0c297448a68d199374d5bff725c9fc</PgoDataCurrentRef>
32 <!-- Tests/infrastructure dependency versions. -->
34 <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview1-25922-03</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35 <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview1-25922-03</MicrosoftNETCorePlatformsPackageVersion>
36 <PgoDataPackageVersion>99.99.99-master-20171122-0033</PgoDataPackageVersion>
37 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview1-25922-02</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>
45 <!-- Package versions used as toolsets -->
47 <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
48 <FeedTasksPackageVersion>2.1.0-prerelease-02221-02</FeedTasksPackageVersion>
51 <!-- Package dependency verification/auto-upgrade configuration. -->
53 <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
54 <DependencyBranch>master</DependencyBranch>
55 <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
59 <RemoteDependencyBuildInfo Include="CoreFx">
60 <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
61 <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
62 </RemoteDependencyBuildInfo>
63 <RemoteDependencyBuildInfo Include="CoreClr">
64 <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
65 <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
66 </RemoteDependencyBuildInfo>
67 <RemoteDependencyBuildInfo Include="BuildTools">
68 <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
69 <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
70 </RemoteDependencyBuildInfo>
71 <RemoteDependencyBuildInfo Include="PgoData">
72 <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
73 <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
74 </RemoteDependencyBuildInfo>
76 <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
77 <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
78 </DependencyBuildInfo>
80 <XmlUpdateStep Include="CoreFx">
81 <Path>$(MSBuildThisFileFullPath)</Path>
82 <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
83 <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
85 <XmlUpdateStep Include="CoreFx">
86 <Path>$(MSBuildThisFileFullPath)</Path>
87 <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
88 <PackageId>Microsoft.NETCore.Platforms</PackageId>
90 <XmlUpdateStep Include="CoreClr">
91 <Path>$(MSBuildThisFileFullPath)</Path>
92 <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
93 <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
95 <UpdateStep Include="BuildTools">
96 <UpdaterType>File</UpdaterType>
97 <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
98 <PackageId>Microsoft.DotNet.BuildTools</PackageId>
100 <XmlUpdateStep Include="BuildTools">
101 <Path>$(MSBuildThisFileFullPath)</Path>
102 <ElementName>FeedTasksPackageVersion</ElementName>
103 <PackageId>$(FeedTasksPackage)</PackageId>
105 <XmlUpdateStep Include="PgoData">
106 <Path>$(MSBuildThisFileFullPath)</Path>
107 <ElementName>PgoDataPackageVersion</ElementName>
108 <PackageId>optimization.PGO.CoreCLR</PackageId>
112 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
114 <XUnitDependency Include="xunit"/>
115 <XUnitDependency Include="xunit.assert"/>
116 <XUnitDependency Include="xunit.core"/>
117 <XUnitDependency Include="xunit.runner.console"/>
118 <XUnitDependency Include="xunit.runner.msbuild"/>
119 <XUnitDependency Include="xunit.runner.utility"/>
120 <StaticDependency Include="@(XUnitDependency)">
121 <Version>$(XunitPackageVersion)</Version>
124 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
125 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
126 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
127 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
128 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
129 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
130 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
131 <StaticDependency Include="@(XunitPerformanceDependency)">
132 <Version>1.0.0-alpha-build0040</Version>
135 <XUnitPerformanceApiDependency Include="xunit.performance.api" />
136 <XUnitPerformanceApiDependency Include="xunit.performance.core" />
137 <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
138 <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
139 <StaticDependency Include="@(XUnitPerformanceApiDependency)">
140 <Version>$(XunitPerformanceApiPackageVersion)</Version>
143 <StaticDependency Include="xunit.console.netcore">
144 <Version>$(XunitConsoleNetcorePackageVersion)</Version>
147 <DependencyBuildInfo Include="@(StaticDependency)">
148 <PackageId>%(Identity)</PackageId>
149 <UpdateStableVersions>true</UpdateStableVersions>
150 </DependencyBuildInfo>
153 <!-- Override isolated build dependency versions with versions from Repo API. -->
154 <Import Project="$(DotNetPackageVersionPropsPath)"
155 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />