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>preview3</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>64cd7256fa7fa2a124d7d2d86bb1cf500bf515a2</CoreFxCurrentRef>
27 <CoreClrCurrentRef>9171e74940c4ce8054acd8995f93a096c613dafa</CoreClrCurrentRef>
28 <BuildToolsCurrentRef>7f2023d4b56b28175c9d7d07a8359cf7e0a131be</BuildToolsCurrentRef>
29 <PgoDataCurrentRef>553f30357d08df4ed6d32f70f3478a76f5db79c2</PgoDataCurrentRef>
32 <!-- Tests/infrastructure dependency versions. -->
34 <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview3-26326-03</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35 <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview3-26326-03</MicrosoftNETCorePlatformsPackageVersion>
36 <PgoDataPackageVersion>99.99.99-master-20180228-0037</PgoDataPackageVersion>
37 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview3-26323-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.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-26319-04</BaselineMicrosoftNetCoreAppPackageVersion>
51 <!-- Package versions used as toolsets -->
53 <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
54 <FeedTasksPackageVersion>2.1.0-preview3-02622-03</FeedTasksPackageVersion>
57 <!-- Package dependency verification/auto-upgrade configuration. -->
59 <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
60 <DependencyBranch>master</DependencyBranch>
61 <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
64 <!-- ILLinik.Tasks package version -->
66 <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
67 <ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
71 <RemoteDependencyBuildInfo Include="CoreFx">
72 <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
73 <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
74 </RemoteDependencyBuildInfo>
75 <RemoteDependencyBuildInfo Include="CoreClr">
76 <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
77 <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
78 </RemoteDependencyBuildInfo>
79 <RemoteDependencyBuildInfo Include="BuildTools">
80 <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
81 <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
82 </RemoteDependencyBuildInfo>
83 <RemoteDependencyBuildInfo Include="PgoData">
84 <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
85 <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
86 </RemoteDependencyBuildInfo>
88 <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
89 <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
90 </DependencyBuildInfo>
92 <XmlUpdateStep Include="CoreFx">
93 <Path>$(MSBuildThisFileFullPath)</Path>
94 <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
95 <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
97 <XmlUpdateStep Include="CoreFx">
98 <Path>$(MSBuildThisFileFullPath)</Path>
99 <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
100 <PackageId>Microsoft.NETCore.Platforms</PackageId>
102 <XmlUpdateStep Include="CoreClr">
103 <Path>$(MSBuildThisFileFullPath)</Path>
104 <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
105 <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
107 <UpdateStep Include="BuildTools">
108 <UpdaterType>File</UpdaterType>
109 <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
110 <PackageId>Microsoft.DotNet.BuildTools</PackageId>
112 <XmlUpdateStep Include="BuildTools">
113 <Path>$(MSBuildThisFileFullPath)</Path>
114 <ElementName>FeedTasksPackageVersion</ElementName>
115 <PackageId>$(FeedTasksPackage)</PackageId>
117 <XmlUpdateStep Include="PgoData">
118 <Path>$(MSBuildThisFileFullPath)</Path>
119 <ElementName>PgoDataPackageVersion</ElementName>
120 <PackageId>optimization.PGO.CoreCLR</PackageId>
122 <UpdateStep Include="ILAsm">
123 <UpdaterType>File</UpdaterType>
124 <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
125 <PackageId>Microsoft.NETCore.ILAsm</PackageId>
129 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
131 <XUnitDependency Include="xunit"/>
132 <XUnitDependency Include="xunit.assert"/>
133 <XUnitDependency Include="xunit.core"/>
134 <XUnitDependency Include="xunit.runner.console"/>
135 <XUnitDependency Include="xunit.runner.msbuild"/>
136 <XUnitDependency Include="xunit.runner.utility"/>
137 <StaticDependency Include="@(XUnitDependency)">
138 <Version>$(XunitPackageVersion)</Version>
141 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
142 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
143 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
144 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
145 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
146 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
147 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
148 <StaticDependency Include="@(XunitPerformanceDependency)">
149 <Version>1.0.0-alpha-build0040</Version>
152 <XUnitPerformanceApiDependency Include="xunit.performance.api" />
153 <XUnitPerformanceApiDependency Include="xunit.performance.core" />
154 <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
155 <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
156 <StaticDependency Include="@(XUnitPerformanceApiDependency)">
157 <Version>$(XunitPerformanceApiPackageVersion)</Version>
160 <StaticDependency Include="xunit.console.netcore">
161 <Version>$(XunitConsoleNetcorePackageVersion)</Version>
164 <DependencyBuildInfo Include="@(StaticDependency)">
165 <PackageId>%(Identity)</PackageId>
166 <UpdateStableVersions>true</UpdateStableVersions>
167 </DependencyBuildInfo>
170 <!-- Override isolated build dependency versions with versions from Repo API. -->
171 <Import Project="$(DotNetPackageVersionPropsPath)"
172 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />