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>a06a5cab76b48bdef868dcc2c53f9f03595bbba3</CoreFxCurrentRef>
27 <CoreClrCurrentRef>a06a5cab76b48bdef868dcc2c53f9f03595bbba3</CoreClrCurrentRef>
28 <BuildToolsCurrentRef>a06a5cab76b48bdef868dcc2c53f9f03595bbba3</BuildToolsCurrentRef>
29 <PgoDataCurrentRef>018dc0f0a59fbee84c98c509a7ac9fd64b0e45cb</PgoDataCurrentRef>
32 <!-- Tests/infrastructure dependency versions. -->
34 <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview1-26012-03</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35 <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview1-26012-03</MicrosoftNETCorePlatformsPackageVersion>
36 <PgoDataPackageVersion>99.99.99-master-20171212-0044</PgoDataPackageVersion>
37 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview1-26013-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>
45 <!-- Package versions used as toolsets -->
47 <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
48 <FeedTasksPackageVersion>2.1.0-prerelease-02312-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>
110 <UpdateStep Include="ILAsm">
111 <UpdaterType>File</UpdaterType>
112 <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
113 <PackageId>Microsoft.NETCore.ILAsm</PackageId>
117 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
119 <XUnitDependency Include="xunit"/>
120 <XUnitDependency Include="xunit.assert"/>
121 <XUnitDependency Include="xunit.core"/>
122 <XUnitDependency Include="xunit.runner.console"/>
123 <XUnitDependency Include="xunit.runner.msbuild"/>
124 <XUnitDependency Include="xunit.runner.utility"/>
125 <StaticDependency Include="@(XUnitDependency)">
126 <Version>$(XunitPackageVersion)</Version>
129 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
130 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
131 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
132 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
133 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
134 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
135 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
136 <StaticDependency Include="@(XunitPerformanceDependency)">
137 <Version>1.0.0-alpha-build0040</Version>
140 <XUnitPerformanceApiDependency Include="xunit.performance.api" />
141 <XUnitPerformanceApiDependency Include="xunit.performance.core" />
142 <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
143 <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
144 <StaticDependency Include="@(XUnitPerformanceApiDependency)">
145 <Version>$(XunitPerformanceApiPackageVersion)</Version>
148 <StaticDependency Include="xunit.console.netcore">
149 <Version>$(XunitConsoleNetcorePackageVersion)</Version>
152 <DependencyBuildInfo Include="@(StaticDependency)">
153 <PackageId>%(Identity)</PackageId>
154 <UpdateStableVersions>true</UpdateStableVersions>
155 </DependencyBuildInfo>
158 <!-- Override isolated build dependency versions with versions from Repo API. -->
159 <Import Project="$(DotNetPackageVersionPropsPath)"
160 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />