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)' == ''">3.0.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>preview</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>a3db02847a0eb11afe7d9000c84095e2f01e9daf</CoreFxCurrentRef>
27 <CoreClrCurrentRef>a3db02847a0eb11afe7d9000c84095e2f01e9daf</CoreClrCurrentRef>
28 <BuildToolsCurrentRef>fd9474f0c60ac4f7e917c072df61e4b23115b7ae</BuildToolsCurrentRef>
29 <PgoDataCurrentRef>a3db02847a0eb11afe7d9000c84095e2f01e9daf</PgoDataCurrentRef>
30 <CoreSetupCurrentRef>a3db02847a0eb11afe7d9000c84095e2f01e9daf</CoreSetupCurrentRef>
31 <IbcDataCurrentRef>fd9474f0c60ac4f7e917c072df61e4b23115b7ae</IbcDataCurrentRef>
34 <!-- Tests/infrastructure dependency versions. -->
36 <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.6.0-preview.18573.2</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
37 <MicrosoftNETCorePlatformsPackageVersion>3.0.0-preview.18573.2</MicrosoftNETCorePlatformsPackageVersion>
38 <PgoDataPackageVersion>99.99.99-master-20181123-0042</PgoDataPackageVersion>
39 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview-27123-02</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
40 <MicrosoftNETCoreAppPackageVersion>3.0.0-preview-27123-01</MicrosoftNETCoreAppPackageVersion>
41 <XunitPackageVersion>2.4.1</XunitPackageVersion>
42 <IbcDataPackageVersion>99.99.99-master-20181120-0045</IbcDataPackageVersion>
43 <IbcMergePackageVersion>4.6.0-alpha-00001</IbcMergePackageVersion>
44 <XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
45 <MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.4</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
46 <CommandLineParserVersion>2.2.0</CommandLineParserVersion>
47 <VCRuntimeVersion>2.0.0</VCRuntimeVersion>
49 <!-- Scenario tests install this version of Microsoft.NetCore.App, then patch coreclr binaries via xcopy. At the moment it is
50 updated manually whenever breaking changes require it to move forward, but it would be nice if we could update it automatically
51 as we do with many of the package versions above -->
52 <BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview3-26416-01</BaselineMicrosoftNetCoreAppPackageVersion>
55 <!-- Package versions used as toolsets -->
57 <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
58 <FeedTasksPackageVersion>3.0.0-preview1-03420-02</FeedTasksPackageVersion>
61 <!-- Publish symbol build task package -->
63 <PublishSymbolsPackage>Microsoft.SymbolUploader.Build.Task</PublishSymbolsPackage>
64 <PublishSymbolsPackageVersion>1.0.0-beta-63412-03</PublishSymbolsPackageVersion>
67 <!-- Package dependency verification/auto-upgrade configuration. -->
69 <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
70 <DependencyBranch>master</DependencyBranch>
71 <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
74 <!-- ILLink.Tasks package version -->
76 <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
77 <ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
81 <RemoteDependencyBuildInfo Include="CoreFx">
82 <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
83 <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
84 </RemoteDependencyBuildInfo>
85 <RemoteDependencyBuildInfo Include="CoreClr">
86 <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
87 <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
88 </RemoteDependencyBuildInfo>
89 <RemoteDependencyBuildInfo Include="BuildTools">
90 <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
91 <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
92 </RemoteDependencyBuildInfo>
93 <RemoteDependencyBuildInfo Include="PgoData">
94 <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)/PGO</BuildInfoPath>
95 <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
96 </RemoteDependencyBuildInfo>
97 <RemoteDependencyBuildInfo Include="IbcData">
98 <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)/IBC</BuildInfoPath>
99 <CurrentRef>$(IbcDataCurrentRef)</CurrentRef>
100 </RemoteDependencyBuildInfo>
101 <RemoteDependencyBuildInfo Include="CoreSetup">
102 <BuildInfoPath>$(BaseDotNetBuildInfo)core-setup/$(DependencyBranch)</BuildInfoPath>
103 <CurrentRef>$(CoreSetupCurrentRef)</CurrentRef>
104 </RemoteDependencyBuildInfo>
106 <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
107 <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
108 </DependencyBuildInfo>
110 <XmlUpdateStep Include="CoreFx">
111 <Path>$(MSBuildThisFileFullPath)</Path>
112 <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
113 <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
115 <XmlUpdateStep Include="CoreFx">
116 <Path>$(MSBuildThisFileFullPath)</Path>
117 <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
118 <PackageId>Microsoft.NETCore.Platforms</PackageId>
120 <XmlUpdateStep Include="CoreClr">
121 <Path>$(MSBuildThisFileFullPath)</Path>
122 <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
123 <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
125 <XmlUpdateStep Include="CoreSetup">
126 <Path>$(MSBuildThisFileFullPath)</Path>
127 <ElementName>MicrosoftNETCoreAppPackageVersion</ElementName>
128 <PackageId>Microsoft.NETCore.App</PackageId>
130 <UpdateStep Include="BuildTools">
131 <UpdaterType>File</UpdaterType>
132 <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
133 <PackageId>Microsoft.DotNet.BuildTools</PackageId>
135 <XmlUpdateStep Include="BuildTools">
136 <Path>$(MSBuildThisFileFullPath)</Path>
137 <ElementName>FeedTasksPackageVersion</ElementName>
138 <PackageId>$(FeedTasksPackage)</PackageId>
140 <XmlUpdateStep Include="PgoData">
141 <Path>$(MSBuildThisFileFullPath)</Path>
142 <ElementName>PgoDataPackageVersion</ElementName>
143 <PackageId>optimization.PGO.CoreCLR</PackageId>
145 <XmlUpdateStep Include="IbcData">
146 <Path>$(MSBuildThisFileFullPath)</Path>
147 <ElementName>IbcDataPackageVersion</ElementName>
148 <PackageId>optimization.IBC.CoreCLR</PackageId>
150 <UpdateStep Include="ILAsm">
151 <UpdaterType>File</UpdaterType>
152 <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
153 <PackageId>Microsoft.NETCore.ILAsm</PackageId>
157 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
159 <XUnitDependency Include="xunit"/>
160 <XUnitDependency Include="xunit.assert"/>
161 <XUnitDependency Include="xunit.core"/>
162 <XUnitDependency Include="xunit.extensibility.core" />
163 <XUnitDependency Include="xunit.runner.console"/>
164 <XUnitDependency Include="xunit.runner.msbuild"/>
165 <XUnitDependency Include="xunit.runner.utility"/>
166 <StaticDependency Include="@(XUnitDependency)">
167 <Version>$(XunitPackageVersion)</Version>
170 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
171 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
172 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
173 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
174 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
175 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
176 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
177 <StaticDependency Include="@(XunitPerformanceDependency)">
178 <Version>1.0.0-alpha-build0040</Version>
181 <XUnitPerformanceApiDependency Include="xunit.performance.api" />
182 <XUnitPerformanceApiDependency Include="xunit.performance.core" />
183 <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
184 <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
185 <StaticDependency Include="@(XUnitPerformanceApiDependency)">
186 <Version>$(XunitPerformanceApiPackageVersion)</Version>
189 <DependencyBuildInfo Include="@(StaticDependency)">
190 <PackageId>%(Identity)</PackageId>
191 <UpdateStableVersions>true</UpdateStableVersions>
192 </DependencyBuildInfo>
195 <!-- Override isolated build dependency versions with versions from Repo API. -->
196 <Import Project="$(DotNetPackageVersionPropsPath)"
197 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />