Skip to content

[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' #50077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
7236de8
Merge commit '164fba230db032f2dc1af84c2c7cd7a3b52a4fdf'
Jun 5, 2025
d87d5de
Merge commit '798ab66b7e07b10860317a24f267e9364b147960'
Jun 5, 2025
014a471
Merge commit '0e1b0ee6b0afefe5f90786a721772fe4c4e998ea'
Jun 10, 2025
0cf081c
Merge commit '36279748fd0ee809585898de2dd8ef22fa567496'
Jun 11, 2025
7312455
Merge commit 'ecdb948a3e8c18cf8d2c95b038117f49a4ac66cf'
Jun 11, 2025
8d78834
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 12, 2025
781cee3
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 12, 2025
678dbee
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 12, 2025
1b20fdc
Merged PR 50796: [internal/release/8.0.1xx] Update dependencies from …
Jun 12, 2025
5bf22e3
Merge commit '6fa97fea2e575c99034260d0f1f5c33de83b5ae7'
Jun 12, 2025
3f95998
Merge commit '05343f1a3b97bb6cfbed7f1d7132e6636334e1f1'
Jun 13, 2025
af4d6aa
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 13, 2025
5a7733d
Merge commit '39c976268f642d482d67d57200d54d6f2c167bda'
Jun 13, 2025
09422c4
Merged PR 50873: [internal/release/8.0.1xx] Update dependencies from …
Jun 13, 2025
bd44974
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 17, 2025
a45bc67
Merged PR 51002: [internal/release/8.0.1xx] Update dependencies from …
Jun 17, 2025
4b3937f
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 17, 2025
1905506
Merged PR 50990: Merge from release/8.0.1xx
marcpopMSFT Jun 17, 2025
3a31eda
Merged PR 51006: [internal/release/8.0.1xx] Update dependencies from …
Jun 17, 2025
20d5fd8
Merged PR 51091: Add back the STJ pinning as DependencyModel has a 8.…
marcpopMSFT Jun 20, 2025
9ea7b08
Merge commit '20d5fd85ce9c57773e657ddac495345b58660952' into internal…
vseanreesermsft Jul 8, 2025
0c5236e
Merging internal commits for release/8.0.1xx (#49699)
nagilson Jul 9, 2025
4d5c397
Remove dotnet-benchview group
DrewScoggins Jul 15, 2025
d1f0f88
Remove dotnet-benchview variable group
DrewScoggins Jul 15, 2025
214a132
Add .NET 6.0 to EOL frameworks list
Copilot Jun 23, 2025
1ce8e7a
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jul 17, 2025
31a0660
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jul 17, 2025
23bf07e
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jul 17, 2025
3debcfd
Add .NET 6.0 to End-of-Life frameworks list to generate NETSDK1138 wa…
Copilot Jul 1, 2025
09eac40
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jul 18, 2025
c3628f3
Remove the net9.0 tests that were added in the cherry-pick
marcpopMSFT Jul 18, 2025
0477da8
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Jul 21, 2025
84e567d
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Jul 22, 2025
cb13273
Update dependencies from https://github.com/dotnet/razor build 202507…
dotnet-maestro[bot] Jul 27, 2025
cc2a6b4
Update dependencies from https://github.com/dotnet/razor build 202507…
dotnet-maestro[bot] Jul 28, 2025
5dda552
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jul 29, 2025
4246be8
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jul 29, 2025
b0449a4
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Aug 4, 2025
2bbadf0
Update branding to 8.0.120
vseanreesermsft Aug 4, 2025
76c0929
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Aug 4, 2025
69a6000
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Aug 4, 2025
b974cf5
Update branding to 8.0.120 (#50035)
SimonZhao888 Aug 5, 2025
6ec94b6
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
5910490
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
4de5bf1
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
6ef1ba0
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
8154772
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
62139aa
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Aug 5, 2025
0d91ed7
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Aug 5, 2025
63e4b4e
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
f36fd5e
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
60fc0be
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
764693b
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
f93c1d6
[release/8.0.3xx] Update dependencies from dotnet/arcade (#49829)
SimonZhao888 Aug 5, 2025
65a391f
[release/8.0.1xx] Update dependencies from dotnet/templating (#49837)
SimonZhao888 Aug 5, 2025
80857ce
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
518de1d
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
4a115ed
[release/8.0.3xx] Update dependencies from dotnet/msbuild (#49888)
SimonZhao888 Aug 5, 2025
5350132
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
760e4ed
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
74e5e92
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
189f022
Revert the change for NuGet.config
Aug 5, 2025
710cbb1
[release/8.0.1xx] Update dependencies from dotnet/msbuild (#49874)
SimonZhao888 Aug 5, 2025
c8214c0
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
149f1fd
[release/8.0.1xx] Update dependencies from dotnet/razor (#49953)
SimonZhao888 Aug 5, 2025
9099759
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 5, 2025
e18c1f0
Add .NET 6.0 to EOL frameworks list (#49823)
marcpopMSFT Aug 5, 2025
88107f1
[release/8.0.3xx] Update dependencies from dotnet/razor (#49957)
dsplaisted Aug 5, 2025
423afaf
Merge branch 'release/8.0.1xx' into 8.0.1xxRemoveVariableGroup
DrewScoggins Aug 5, 2025
e460e93
Merge branch 'release/8.0.3xx' into 8.0.3xxRemoveVariableGroup
DrewScoggins Aug 5, 2025
65e3945
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#50044)
dsplaisted Aug 5, 2025
6203477
Remove dotnet-benchview group (#49787)
DrewScoggins Aug 5, 2025
5cd63c4
[release/8.0.1xx] Update dependencies from dotnet/arcade (#49828)
SimonZhao888 Aug 6, 2025
f5f63a6
[release/8.0.3xx] Update dependencies from dotnet/templating (#49852)
SimonZhao888 Aug 6, 2025
479a608
Remove dotnet-benchview variable group (#49788)
DrewScoggins Aug 6, 2025
973bb4e
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Aug 6, 2025
269bbc4
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Aug 6, 2025
e2276fd
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#50067)
SimonZhao888 Aug 6, 2025
1d90a92
[release/8.0.3xx] Update dependencies from dotnet/templating (#50070)
SimonZhao888 Aug 6, 2025
414c189
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into …
Aug 6, 2025
e7ce960
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into …
Aug 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ Copyright (c) .NET Foundation. All rights reserved.
receive servicing updates and security fixes.
-->
<ItemGroup>
<_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0;7.0" />
<_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0;6.0;7.0" />
</ItemGroup>
<PropertyGroup>
<_MinimumNonEolSupportedNetCoreTargetFramework>net6.0</_MinimumNonEolSupportedNetCoreTargetFramework>
<_MinimumNonEolSupportedNetCoreTargetFramework>net8.0</_MinimumNonEolSupportedNetCoreTargetFramework>
</PropertyGroup>

<Target Name="_CheckForEolTargetFrameworks" AfterTargets="_CheckForUnsupportedNETCoreVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public GivenThatWeWantToTargetEolFrameworks(ITestOutputHelper log) : base(log)
[InlineData("netcoreapp3.0")]
[InlineData("netcoreapp3.1")]
[InlineData("net5.0")]
[InlineData("net6.0")]
[InlineData("net7.0")]
public void It_warns_that_framework_is_out_of_support(string targetFrameworks)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ public void ILLink_analyzer_warnings_are_produced_using_EnableSingleFileAnalyzer
[InlineData("netstandard2.0", true)]
[InlineData("netstandard2.0;net5.0", true)] // None of these TFMs are supported for single-file
[InlineData("netstandard2.0;net6.0", false)] // Net6.0 is the min TFM supported for single-file and targeting.
[InlineData("netstandard2.0;net8.0", true)] // Net8.0 is supported for single-file, but leaves a "gap" for the supported net6./net7.0 TFMs.
[InlineData("netstandard2.0;net8.0", false)] // Net8.0 is supported for single-file
[InlineData("alias-ns2", true)]
[InlineData("alias-n6", false)]
[InlineData("alias-n6;alias-n8", false)] // If all TFMs are supported, there's no warning even though the project uses aliases.
Expand All @@ -669,18 +669,19 @@ public void EnableSingleFile_warns_when_expected_for_not_correctly_multitargeted
TargetFrameworks = targetFrameworks
};
testProject.AdditionalProperties["EnableSingleFileAnalyzer"] = "true";
testProject.AdditionalProperties["CheckEolTargetFramework"] = "false"; // Silence warning about targeting EOL TFMs
var testAsset = _testAssetsManager.CreateTestProject(testProject, identifier: targetFrameworks)
.WithProjectChanges(AddTargetFrameworkAliases);

var buildCommand = new BuildCommand(testAsset);
var resultAssertion = buildCommand.Execute("/bl:my.binlog")
var resultAssertion = buildCommand.Execute("/p:CheckEolTargetFramework=false")
.Should().Pass();
if (shouldWarn) {
// Note: can't check for Strings.EnableSingleFileAnalyzerUnsupported because each line of
// the message gets prefixed with a file path by MSBuild.
resultAssertion
.And.HaveStdOutContaining($"warning NETSDK1211")
.And.HaveStdOutContaining($"<EnableSingleFileAnalyzer Condition=\"$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))\">true</EnableSingleFileAnalyzer>");
.And.HaveStdOutContaining($"<EnableSingleFileAnalyzer Condition=\"$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))\">true</EnableSingleFileAnalyzer>");
} else {
resultAssertion.And.NotHaveStdOutContaining($"warning");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ public void IsAotCompatible_implies_enable_analyzers(string targetFramework)
[InlineData("netstandard2.0", true)]
[InlineData("netstandard2.0;net5.0", true)] // None of these TFMs are supported for AOT
[InlineData("netstandard2.0;net7.0", false)] // Net7.0 is the min TFM supported for AOT and targeting.
[InlineData("netstandard2.0;net8.0", true)] // Net8.0 is supported for AOT, but leaves a "gap" for the supported net7.0 TFMs.
[InlineData("netstandard2.0;net8.0", false)] // net8.0 is supported for AOT and targeting.
[InlineData("alias-ns2", true)]
[InlineData("alias-n6", false)]
[InlineData("alias-n7;alias-n8", false)] // If all TFMs are supported, there's no warning even though the project uses aliases.
Expand All @@ -609,18 +609,19 @@ public void IsAotCompatible_warns_when_expected_for_not_correctly_multitarget_li
TargetFrameworks = targetFrameworks
};
testProject.AdditionalProperties["IsAotCompatible"] = "true";
testProject.AdditionalProperties["CheckEolTargetFramework"] = "false"; // Silence warning about targeting EOL TFMs
var testAsset = _testAssetsManager.CreateTestProject(testProject, identifier: targetFrameworks)
.WithProjectChanges(AddTargetFrameworkAliases);

var buildCommand = new BuildCommand(testAsset);
var resultAssertion = buildCommand.Execute()
var resultAssertion = buildCommand.Execute("/p:CheckEolTargetFramework=false")
.Should().Pass();
if (shouldWarn) {
resultAssertion
// Note: can't check for Strings.IsAotCompatibleUnsupported because each line of
// the message gets prefixed with a file path by MSBuild.
.And.HaveStdOutContaining($"warning NETSDK1210")
.And.HaveStdOutContaining($"<IsAotCompatible Condition=\"$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))\">true</IsAotCompatible>");
.And.HaveStdOutContaining($"<IsAotCompatible Condition=\"$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))\">true</IsAotCompatible>");
} else {
resultAssertion.And.NotHaveStdOutContaining($"warning");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ public void PublishTrimmed_fails_for_unsupported_target_framework(string targetF
[InlineData("netstandard2.0", true)]
[InlineData("netstandard2.1", true)]
[InlineData("netstandard2.0;net5.0", true)] // None of these TFMs are supported for trimming
[InlineData("netstandard2.0;net6.0", false)] // Net6.0 is the min TFM supported for trimming and targeting.
[InlineData("netstandard2.0;net8.0", true)] // Net8.0 is supported for trimming, but leaves a "gap" for the supported net6.0/net7.0 TFMs.
[InlineData("netstandard2.0;net6.0", false)] // net6.0 is the min TFM supported for trimming and targeting.
[InlineData("netstandard2.0;net8.0", false)] // Net8.0 is supported for trimming and targeting.
[InlineData("alias-ns2", true)]
[InlineData("alias-n6", false)]
[InlineData("alias-n6;alias-n8", false)] // If all TFMs are supported, there's no warning even though the project uses aliases.
Expand All @@ -182,18 +182,19 @@ public void IsTrimmable_warns_when_expected_for_not_correctly_multitargeted_libr

var testProject = CreateTestProjectForILLinkTesting(targetFrameworks, projectName);
testProject.AdditionalProperties["IsTrimmable"] = "true";
testProject.AdditionalProperties["CheckEolTargetFramework"] = "false"; // Silence warning about targeting EOL TFMs
var testAsset = _testAssetsManager.CreateTestProject(testProject, identifier: targetFrameworks)
.WithProjectChanges(AddTargetFrameworkAliases);

var buildCommand = new BuildCommand(testAsset);
var resultAssertion = buildCommand.Execute()
var resultAssertion = buildCommand.Execute("/p:CheckEolTargetFramework=false")
.Should().Pass();
if (shouldWarn) {
resultAssertion
// Note: can't check for Strings.IsTrimmableUnsupported because each line of
// the message gets prefixed with a file path by MSBuild.
.And.HaveStdOutContaining($"warning NETSDK1212")
.And.HaveStdOutContaining($"<IsTrimmable Condition=\"$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))\">true</IsTrimmable>");
.And.HaveStdOutContaining($"<IsTrimmable Condition=\"$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))\">true</IsTrimmable>");
} else {
resultAssertion.And.NotHaveStdOutContaining($"warning");
}
Expand Down
3 changes: 2 additions & 1 deletion src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ public async void FeaturesSupport(
string finalProjectName = Path.Combine(projectDir, $"{projName}.{extension}");

Dictionary<string, string> environmentUnderTest = new() { ["DOTNET_NOLOGO"] = false.ToString() };
environmentUnderTest["CheckEolTargetFramework"] = false.ToString();
TestContext.Current.AddTestEnvironmentVariables(environmentUnderTest);

TemplateVerifierOptions options = new TemplateVerifierOptions(templateName: name)
Expand Down Expand Up @@ -419,7 +420,7 @@ public async void FeaturesSupport(
{
new DotnetBuildCommand(_log, "MyProject")
.WithWorkingDirectory(workingDir)
.Execute()
.Execute("/p:CheckEolTargetFramework=false")
.Should()
.Pass()
.And.NotHaveStdErr();
Expand Down