Skip to content

Commit 0d44db4

Browse files
author
Jason Zhai
committed
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into merge/release/8.0.3xx-to-release/8.0.4xx
2 parents 52c00d8 + 59f83a3 commit 0d44db4

File tree

224 files changed

+4227
-1646
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+4227
-1646
lines changed

.vsts-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ trigger:
33
branches:
44
include:
55
- main
6-
- release/8.0.3xx
6+
- release/8.0.4xx
77
- internal/release/*
88
- exp/*
99

@@ -117,7 +117,7 @@ extends:
117117
enableInternalSources: true
118118
platform:
119119
name: 'Managed'
120-
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
120+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'
121121
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
122122
- template: /eng/build.yml@self
123123
parameters:

.vsts-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ trigger:
33
branches:
44
include:
55
- main
6-
- release/8.0.3xx
6+
- release/8.0.4xx
77
- internal/release/*
88
- exp/*
99

@@ -90,7 +90,7 @@ stages:
9090
enableInternalSources: true
9191
platform:
9292
name: 'Managed'
93-
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
93+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'
9494
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
9595
- template: /eng/build-pr.yml
9696
parameters:

Directory.Packages.props

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@
1010
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsToolingInternalPackageVersion)" />
1111
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="$(MicrosoftAspNetCoreTestHostPackageVersion)" />
1212
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="$(MicrosoftBclAsyncInterfacesPackageVersion)"/>
13-
<PackageVersion Include="Microsoft.Build" Version="$(MicrosoftBuildPackageVersion)" />
14-
<PackageVersion Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkPackageVersion)" />
15-
<PackageVersion Include="Microsoft.Build.Localization" Version="$(MicrosoftBuildLocalizationPackageVersion)" />
16-
<PackageVersion Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorPackageVersion)" />
1713
<PackageVersion Include="Microsoft.Build.NuGetSdkResolver" Version="$(MicrosoftBuildNuGetSdkResolverPackageVersion)" />
18-
<PackageVersion Include="Microsoft.Build.Runtime" Version="$(MicrosoftBuildRuntimePackageVersion)" />
19-
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildPackageVersion)" />
20-
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCorePackageVersion)" />
2114
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisCSharpPackageVersion)" />
2215
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
2316
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Features" Version="$(MicrosoftCodeAnalysisCSharpFeaturesPackageVersion)" />
@@ -42,7 +35,6 @@
4235
<PackageVersion Include="Microsoft.Management.Infrastructure" Version="3.0.0" />
4336
<PackageVersion Include="Microsoft.NET.HostModel" Version="$(MicrosoftNETHostModelVersion)" />
4437
<PackageVersion Include="Microsoft.NET.Sdk.Razor.SourceGenerators.Transport" Version="$(MicrosoftNETSdkRazorSourceGeneratorsTransportPackageVersion)" />
45-
<PackageVersion Include="Microsoft.NET.StringTools" Version="$(MicrosoftNETStringToolsPackageVersion)" />
4638
<PackageVersion Include="Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" />
4739
<PackageVersion Include="Microsoft.NETCore.Targets" Version="2.1.0" />
4840
<PackageVersion Include="Microsoft.TemplateEngine.Authoring.TemplateVerifier" Version="$(MicrosoftTemplateEngineAuthoringTemplateVerifierVersion)" />
@@ -110,4 +102,36 @@
110102
<PackageVersion Include="Xunit.Combinatorial" Version="$(XunitCombinatorialVersion)" />
111103
<PackageVersion Include="xunit.console" Version="$(XUnitVersion)"/>
112104
</ItemGroup>
105+
106+
<!-- Use different versions of Microsoft.Build.* depending on whether the output will be used in
107+
.NET Framework (VS) or only in the .NET SDK.
108+
109+
Note: This is not abstracted in Versions.props because source-only
110+
modes will import a version override file after Versions.props. -->
111+
<ItemGroup Condition="'$(DotNetBuildSourceOnly)' == 'true' or '$(TargetFramework)' != 'net472'">
112+
<!-- MSBuild-y stuff that runs in the CLI can always reference the latest MSBuild since
113+
that is what will be packaged with the .NET SDK. -->
114+
<PackageVersion Include="Microsoft.Build" Version="$(MicrosoftBuildPackageVersion)" />
115+
<PackageVersion Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildPackageVersion)" />
116+
<!-- Localization is the same between source-only and regular modes. Always taken from latest. Duplicated between the itemgroups for clarity. -->
117+
<PackageVersion Include="Microsoft.Build.Localization" Version="$(MicrosoftBuildLocalizationPackageVersion)" />
118+
<PackageVersion Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorPackageVersion)" />
119+
<PackageVersion Include="Microsoft.Build.Runtime" Version="$(MicrosoftBuildPackageVersion)" />
120+
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildPackageVersion)" />
121+
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildPackageVersion)" />
122+
<PackageVersion Include="Microsoft.NET.StringTools" Version="$(MicrosoftBuildPackageVersion)" />
123+
</ItemGroup>
124+
<ItemGroup Condition="'$(DotNetBuildSourceOnly)' != 'true' and '$(TargetFramework)' == 'net472'">
125+
<!-- MSBuild-y stuff that runs in VS/MSBuild.exe should reference the lagging minimum version so
126+
it works in that slightly-older Visual Studio. -->
127+
<PackageVersion Include="Microsoft.Build" Version="$(MicrosoftBuildMinimumVersion)" />
128+
<PackageVersion Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildMinimumVersion)" />
129+
<!-- Localization is the same between source-only and regular modes. Always taken from latest. Duplicated between the itemgroups for clarity. -->
130+
<PackageVersion Include="Microsoft.Build.Localization" Version="$(MicrosoftBuildLocalizationPackageVersion)" />
131+
<PackageVersion Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorPackageVersion)" />
132+
<PackageVersion Include="Microsoft.Build.Runtime" Version="$(MicrosoftBuildMinimumVersion)" />
133+
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildMinimumVersion)" />
134+
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildMinimumVersion)" />
135+
<PackageVersion Include="Microsoft.NET.StringTools" Version="$(MicrosoftNETStringToolsPackageVersion)" />
136+
</ItemGroup>
113137
</Project>

NuGet.config

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@
66
<!-- Begin: Package sources from dotnet-emsdk -->
77
<!-- End: Package sources from dotnet-emsdk -->
88
<!-- Begin: Package sources from dotnet-format -->
9-
<add key="darc-pub-dotnet-format-d237e17" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172/nuget/v3/index.json" />
10-
<add key="darc-pub-dotnet-format-d237e17-6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172-6/nuget/v3/index.json" />
11-
<add key="darc-pub-dotnet-format-d237e17-5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172-5/nuget/v3/index.json" />
12-
<add key="darc-pub-dotnet-format-d237e17-4" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172-4/nuget/v3/index.json" />
13-
<add key="darc-pub-dotnet-format-d237e17-3" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172-3/nuget/v3/index.json" />
14-
<add key="darc-pub-dotnet-format-d237e17-2" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172-2/nuget/v3/index.json" />
15-
<add key="darc-pub-dotnet-format-d237e17-1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-d237e172-1/nuget/v3/index.json" />
9+
<add key="darc-pub-dotnet-format-32b81fa" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-32b81fa7/nuget/v3/index.json" />
10+
<add key="darc-pub-dotnet-format-32b81fa-3" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-32b81fa7-3/nuget/v3/index.json" />
11+
<add key="darc-pub-dotnet-format-32b81fa-2" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-32b81fa7-2/nuget/v3/index.json" />
12+
<add key="darc-pub-dotnet-format-32b81fa-1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-format-32b81fa7-1/nuget/v3/index.json" />
1613
<!-- End: Package sources from dotnet-format -->
1714
<!-- Begin: Package sources from dotnet-aspnetcore -->
1815
<!-- End: Package sources from dotnet-aspnetcore -->
1916
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
17+
<add key="darc-pub-DotNet-msbuild-Trusted-0c86109" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-0c861097/nuget/v3/index.json" />
2018
<!-- End: Package sources from DotNet-msbuild-Trusted -->
2119
<!-- Begin: Package sources from dotnet-roslyn-analyzers -->
2220
<!-- End: Package sources from dotnet-roslyn-analyzers -->
2321
<!-- Begin: Package sources from dotnet-runtime -->
2422
<!-- End: Package sources from dotnet-runtime -->
2523
<!-- Begin: Package sources from dotnet-templating -->
26-
<add key="darc-pub-dotnet-templating-350f329" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-templating-350f3294/nuget/v3/index.json" />
2724
<!-- End: Package sources from dotnet-templating -->
2825
<!-- Begin: Package sources from dotnet-windowsdesktop -->
2926
<!-- End: Package sources from dotnet-windowsdesktop -->

eng/SourceBuildPrebuiltBaseline.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
<!-- (Don't include these for 9.0) Allow 8.0.2xx and higher to use any version of these packages since source build
3737
is only applicable to 8.0.1xx. -->
38+
<UsagePattern IdentityGlob="Microsoft.Extensions.DependencyInjection.Abstractions/8.0.*" />
3839
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Abstractions/8.0.*" />
3940
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Core/8.0.*" />
4041
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Core.Contracts/8.0.*" />
@@ -44,5 +45,8 @@
4445
<UsagePattern IdentityGlob="Microsoft.TemplateSearch.Common/8.0.*" />
4546
<UsagePattern IdentityGlob="System.Drawing.Common/8.0.*" />
4647
<UsagePattern IdentityGlob="Valleysoft.DockerCredsProvider/*" />
48+
49+
<!-- Transitive dependencies from roslyn -->
50+
<UsagePattern IdentityGlob="Microsoft.Extensions.Options/8.0.0" />
4751
</IgnorePatterns>
4852
</UsageData>

0 commit comments

Comments
 (0)