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://dotnetfeed.blob.core.windows.net/dotnet-coreclr/index.json;
8 https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
9 https://api.nuget.org/v3/index.json;
14 <Import Project="eng/Versions.props" />
17 <!-- Central place to set the versions of all nuget packages produced in the repo -->
18 <PackageVersion Condition="'$(PackageVersion)' == ''">3.0.0</PackageVersion>
20 <!-- Set the boolean below to true to generate packages with stabilized versions -->
21 <StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
22 <StableVersion Condition="'$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(PackageVersion)</StableVersion>
24 <PreReleaseLabel>preview5</PreReleaseLabel>
27 <!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
29 <CoreClrCurrentRef>b6660920d1e383721f6c396d02420721be0aca83</CoreClrCurrentRef>
30 <BuildToolsCurrentRef>c6a0e8080e10e8940af6b1d1809e79fdd8de55b7</BuildToolsCurrentRef>
33 <!-- Tests/infrastructure dependency versions. -->
35 <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview5-27615-71</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
36 <XunitPackageVersion>2.4.1</XunitPackageVersion>
37 <XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
38 <MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.36</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
39 <IbcMergePackageVersion>4.6.0-alpha-00001</IbcMergePackageVersion>
40 <CommandLineParserVersion>2.2.0</CommandLineParserVersion>
42 <!-- Scenario tests install this version of Microsoft.NetCore.App, then patch coreclr binaries via xcopy. At the moment it is
43 updated manually whenever breaking changes require it to move forward, but it would be nice if we could update it automatically
44 as we do with many of the package versions above -->
45 <BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview3-26416-01</BaselineMicrosoftNetCoreAppPackageVersion>
48 <!-- Package dependency verification/auto-upgrade configuration. -->
50 <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
51 <DependencyBranch>master</DependencyBranch>
52 <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
55 <!-- ILLink.Tasks package version -->
57 <ILLinkTasksPackage>ILLink.Tasks</ILLinkTasksPackage>
58 <ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
62 <RemoteDependencyBuildInfo Include="CoreClr">
63 <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
64 <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
65 </RemoteDependencyBuildInfo>
66 <RemoteDependencyBuildInfo Include="BuildTools">
67 <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
68 <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
69 </RemoteDependencyBuildInfo>
71 <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
72 <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
73 </DependencyBuildInfo>
75 <XmlUpdateStep Include="CoreClr">
76 <Path>$(MSBuildThisFileFullPath)</Path>
77 <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
78 <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
80 <UpdateStep Include="BuildTools">
81 <UpdaterType>File</UpdaterType>
82 <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
83 <PackageId>Microsoft.DotNet.BuildTools</PackageId>
85 <UpdateStep Include="ILAsm">
86 <UpdaterType>File</UpdaterType>
87 <Path>$(MSBuildThisFileDirectory)ILAsmVersion.txt</Path>
88 <PackageId>Microsoft.NETCore.ILAsm</PackageId>
92 <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
94 <XUnitDependency Include="xunit"/>
95 <XUnitDependency Include="xunit.assert"/>
96 <XUnitDependency Include="xunit.core"/>
97 <XUnitDependency Include="xunit.extensibility.core" />
98 <XUnitDependency Include="xunit.runner.console"/>
99 <XUnitDependency Include="xunit.runner.msbuild"/>
100 <XUnitDependency Include="xunit.runner.utility"/>
101 <StaticDependency Include="@(XUnitDependency)">
102 <Version>$(XunitPackageVersion)</Version>
105 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
106 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
107 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
108 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
109 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
110 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
111 <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
112 <StaticDependency Include="@(XunitPerformanceDependency)">
113 <Version>1.0.0-alpha-build0040</Version>
116 <XUnitPerformanceApiDependency Include="xunit.performance.api" />
117 <XUnitPerformanceApiDependency Include="xunit.performance.core" />
118 <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
119 <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
120 <StaticDependency Include="@(XUnitPerformanceApiDependency)">
121 <Version>$(XunitPerformanceApiPackageVersion)</Version>
124 <DependencyBuildInfo Include="@(StaticDependency)">
125 <PackageId>%(Identity)</PackageId>
126 <UpdateStableVersions>true</UpdateStableVersions>
127 </DependencyBuildInfo>
130 <!-- Override isolated build dependency versions with versions from Repo API. -->
131 <Import Project="$(DotNetPackageVersionPropsPath)"
132 Condition="'$(DotNetPackageVersionPropsPath)' != ''" />