Skip to content

Commit ea5fa16

Browse files
dotnet-maestro[bot]ViktorHoferCopilot
authored
[main] Source code updates from dotnet/dotnet (#16753)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Viktor Hofer <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 52c87dd commit ea5fa16

77 files changed

Lines changed: 610 additions & 516 deletions

File tree

Some content is hidden

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

‎Directory.Packages.props‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<MicrosoftCciVersion>4.0.0-rc3-24214-00</MicrosoftCciVersion>
1111
<!-- Keep Microsoft.Data.Services.Client package version in sync with Microsoft.Data.OData -->
1212
<MicrosoftDataServicesClientVersion>5.8.4</MicrosoftDataServicesClientVersion>
13-
<MicrosoftSignedWixVersion>3.14.1-11027.2914512</MicrosoftSignedWixVersion>
14-
<MicrosoftWixToolsetSdkVersion>5.0.2-dotnet.2811440</MicrosoftWixToolsetSdkVersion>
13+
<MicrosoftSignedWixVersion>3.14.1-9323.2545153</MicrosoftSignedWixVersion>
14+
<MicrosoftWixToolsetSdkVersion>6.0.3-dotnet.4</MicrosoftWixToolsetSdkVersion>
1515
<!-- Overwrite XUnitVersion/XUnitAnalyzersVersion/XUnitRunnerConsoleVersion/XUnitRunnerVisualStudioVersion/MicrosoftTestingPlatformVersion that comes from the Arcade SDK to be in sync as Arcade doesn't use a live Arcade SDK.
1616
Keep in sync with DefaultVersions.props. -->
1717
<XUnitVersion>2.9.3</XUnitVersion>
@@ -50,7 +50,6 @@
5050
<!-- roslyn -->
5151
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisCSharpVersion)" />
5252
<!-- runtime -->
53-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsVersion)" />
5453
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
5554
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
5655
<PackageVersion Include="Microsoft.Extensions.Http" Version="$(MicrosoftExtensionsHttpVersion)" />

‎Documentation/SBOMGenerationGuidance.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ for your release builds:
167167
- https://github.com/dotnet/runtime
168168
- https://github.com/dotnet/sdk
169169
- https://github.com/dotnet/source-build
170-
- https://github.com/dotnet/source-build-reference-packages
170+
- https://github.com/dotnet/source-build-assets
171171
- https://github.com/dotnet/templating
172172
- https://github.com/dotnet/test-templates
173173
- https://github.com/dotnet/windowsdesktop

‎Documentation/V3StatusUpdate.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This table represents the status of the .NET 5 V3 publishing status on a Per-Rep
3737
| llvm-project | epananth | ❌ | |
3838
| icu | masafa | ❌ | |
3939
| wcf | epananth | ❌ | |
40-
| source-build-reference-packages| epananth | ❌ | |
40+
| source-build-assets | epananth | ❌ | |
4141

4242

4343
<!-- Begin Generated Content: Doc Feedback -->

‎Documentation/update-xunit.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ This document aims to establish the necessary actions to update the xunit versio
33
1. For security reasons, nuget packages need to be manually mirrored from nuget.org to the dotnet-public AzDO feed. [See the instructions](/Documentation/MirroringPackages.md). Mirror the following xunit packages: `xunit,xunit.console,xunit.runner.reporters,xunit.runner.utility,xunit.runner.console,xunit.runner.visualstudio` with version `latest`.
44
2. Update `XUnitVersion`, `XUnitAnalyzersVersion`, `XUnitRunnerVisualStudioVersion`, `XUnitV3Version` and `MicrosoftTestingPlatformVersion` properties in [Arcade SDK's DefaultVersions.props](/src/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props) to the desired values. Make sure to use a coherent version of `xunit.analyzers`. Note that `MicrosoftTestingPlatformVersion` must be compatible with the `XUnitV3Version` (xunit.v3.mtp-v1 depends on a specific minimum version of Microsoft.Testing.Platform).
55
3. Update other hardcoded values of `XUnitVersion` inside the Arcade repository (i.e. in [SendingJobsToHelix.md](/Documentation/AzureDevOps/SendingJobsToHelix.md), [Directory.Packages.props](/Directory.Packages.props) and others).
6-
4. Submit a Pull request with these changes to [dotnet/arcade](https://github.com/dotnet/arcade) and tag @ViktorHofer as a reviewer.
7-
5. Update the build from source compatible xunit/xunit fork in the [dotnet/source-build-reference-packages](https://github.com/dotnet/source-build-reference-packages/tree/main/src/externalPackages) repository by following [the instructions](https://github.com/dotnet/source-build-reference-packages) and submit a Pull Request.
6+
4. Submit a Pull request with these changes to [dotnet/arcade](https://github.com/dotnet/arcade).

‎eng/Version.Details.props‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ This file should be imported by eng/Versions.props
5050
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>10.0.100-preview.4.25220.1</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
5151
<!-- dotnet-xharness dependencies -->
5252
<MicrosoftDotNetXHarnessCLIPackageVersion>11.0.0-prerelease.26181.1</MicrosoftDotNetXHarnessCLIPackageVersion>
53+
<!-- nuget-nuget.client dependencies -->
54+
<NuGetCommandsPackageVersion>7.0.3</NuGetCommandsPackageVersion>
55+
<NuGetCommonPackageVersion>7.0.3</NuGetCommonPackageVersion>
56+
<NuGetConfigurationPackageVersion>7.0.3</NuGetConfigurationPackageVersion>
57+
<NuGetFrameworksPackageVersion>7.0.3</NuGetFrameworksPackageVersion>
58+
<NuGetPackagingPackageVersion>7.0.3</NuGetPackagingPackageVersion>
59+
<NuGetProjectModelPackageVersion>7.0.3</NuGetProjectModelPackageVersion>
60+
<NuGetVersioningPackageVersion>7.0.3</NuGetVersioningPackageVersion>
5361
</PropertyGroup>
5462
<!--Property group for alternate package version names-->
5563
<PropertyGroup>
@@ -98,5 +106,13 @@ This file should be imported by eng/Versions.props
98106
<MicrosoftTemplateEngineAuthoringTasksVersion>$(MicrosoftTemplateEngineAuthoringTasksPackageVersion)</MicrosoftTemplateEngineAuthoringTasksVersion>
99107
<!-- dotnet-xharness dependencies -->
100108
<MicrosoftDotNetXHarnessCLIVersion>$(MicrosoftDotNetXHarnessCLIPackageVersion)</MicrosoftDotNetXHarnessCLIVersion>
109+
<!-- nuget-nuget.client dependencies -->
110+
<NuGetCommandsVersion>$(NuGetCommandsPackageVersion)</NuGetCommandsVersion>
111+
<NuGetCommonVersion>$(NuGetCommonPackageVersion)</NuGetCommonVersion>
112+
<NuGetConfigurationVersion>$(NuGetConfigurationPackageVersion)</NuGetConfigurationVersion>
113+
<NuGetFrameworksVersion>$(NuGetFrameworksPackageVersion)</NuGetFrameworksVersion>
114+
<NuGetPackagingVersion>$(NuGetPackagingPackageVersion)</NuGetPackagingVersion>
115+
<NuGetProjectModelVersion>$(NuGetProjectModelPackageVersion)</NuGetProjectModelVersion>
116+
<NuGetVersioningVersion>$(NuGetVersioningPackageVersion)</NuGetVersioningVersion>
101117
</PropertyGroup>
102118
</Project>

‎eng/Version.Details.xml‎

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
3-
<Source Uri="https://github.com/dotnet/dotnet" Mapping="arcade" Sha="0cf6b19ed68d2d52e097e6af6d6046b4eeefefe2" BarId="309569" />
3+
<Source Uri="https://github.com/dotnet/dotnet" Mapping="arcade" Sha="aae32bdb43e214583a15e3393e38c889b9447ec4" BarId="311575" />
44
<ProductDependencies>
55
</ProductDependencies>
66
<ToolsetDependencies>
@@ -116,7 +116,7 @@
116116
<Uri>https://github.com/dotnet/runtime</Uri>
117117
<Sha>dc5fd7a8dce8309e4add8fd4bd5d8718f221b15a</Sha>
118118
</Dependency>
119-
<Dependency Name="System.Security.Cryptography.Xml" Version="10.0.3">
119+
<Dependency Name="System.Security.Cryptography.Xml" Version="10.0.6">
120120
<Uri>https://github.com/dotnet/runtime</Uri>
121121
<Sha>dc5fd7a8dce8309e4add8fd4bd5d8718f221b15a</Sha>
122122
</Dependency>
@@ -141,5 +141,40 @@
141141
<Uri>https://github.com/dotnet/msbuild</Uri>
142142
<Sha>d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha>
143143
</Dependency>
144+
<!-- NuGet dependencies required for source build to lift to the previously-source-built version.
145+
Arcade redistributes these in its MSBuild task packages and needs real executable assemblies,
146+
not SBRP reference stubs. -->
147+
<Dependency Name="NuGet.Commands" Version="7.0.3">
148+
<Uri>https://github.com/nuget/nuget.client</Uri>
149+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
150+
</Dependency>
151+
<Dependency Name="NuGet.Common" Version="7.0.3">
152+
<Uri>https://github.com/nuget/nuget.client</Uri>
153+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
154+
</Dependency>
155+
<Dependency Name="NuGet.Configuration" Version="7.0.3">
156+
<Uri>https://github.com/nuget/nuget.client</Uri>
157+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
158+
</Dependency>
159+
<Dependency Name="NuGet.Frameworks" Version="7.0.3">
160+
<Uri>https://github.com/nuget/nuget.client</Uri>
161+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
162+
</Dependency>
163+
<Dependency Name="NuGet.Packaging" Version="7.0.3">
164+
<Uri>https://github.com/nuget/nuget.client</Uri>
165+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
166+
</Dependency>
167+
<Dependency Name="NuGet.ProjectModel" Version="7.0.3">
168+
<Uri>https://github.com/nuget/nuget.client</Uri>
169+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
170+
</Dependency>
171+
<Dependency Name="NuGet.Versioning" Version="7.0.3">
172+
<Uri>https://github.com/nuget/nuget.client</Uri>
173+
<Sha>779eff1e73420573dd39dbbe54896ff8f08955e1</Sha>
174+
</Dependency>
175+
<Dependency Name="System.Composition" Version="10.0.3">
176+
<Uri>https://github.com/dotnet/runtime</Uri>
177+
<Sha>dc5fd7a8dce8309e4add8fd4bd5d8718f221b15a</Sha>
178+
</Dependency>
144179
</ToolsetDependencies>
145180
</Dependencies>

‎eng/Versions.props‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@
1313
<PropertyGroup>
1414
<!-- corefx -->
1515
<SystemRuntimeInteropServicesRuntimeInformation>4.3.0</SystemRuntimeInteropServicesRuntimeInformation>
16-
<!-- nuget -->
17-
<!-- Important: Don't version higher than what's available in the toolset SDK as
18-
NuGet assemblies aren't redistributed with .NETCoreApp msbuild tasks. -->
19-
<NuGetCommandsVersion>7.0.3</NuGetCommandsVersion>
20-
<NuGetFrameworksVersion>7.0.3</NuGetFrameworksVersion>
21-
<NuGetPackagingVersion>7.0.3</NuGetPackagingVersion>
22-
<NuGetProjectModelVersion>7.0.3</NuGetProjectModelVersion>
23-
<NuGetVersioningVersion>7.0.3</NuGetVersioningVersion>
2416
<!-- runtime -->
2517
<MicrosoftNETCorePlatformsVersion>5.0.0</MicrosoftNETCorePlatformsVersion>
2618
<MicrosoftNETRuntimeEmscripten2023Nodewin_x64>6.0.4</MicrosoftNETRuntimeEmscripten2023Nodewin_x64>

‎eng/common/core-templates/post-build/post-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ stages:
225225
displayName: Validate
226226
inputs:
227227
filePath: eng\common\sdk-task.ps1
228-
arguments: -task SigningValidation -restore
228+
arguments: -task SigningValidation -restore -msbuildEngine dotnet
229229
/p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts'
230230
/p:SignCheckExclusionsFile='$(System.DefaultWorkingDirectory)/eng/SignCheckExclusionsFile.txt'
231231
${{ parameters.signingValidationAdditionalParameters }}

‎eng/common/sdk-task.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $warnAsError = if ($noWarnAsError) { $false } else { $true }
2222

2323
function Print-Usage() {
2424
Write-Host "Common settings:"
25-
Write-Host " -task <value> Name of Arcade task (name of a project in SdkTasks directory of the Arcade SDK package)"
25+
Write-Host " -task <value> Name of Arcade task (name of a project in toolset directory of the Arcade SDK package)"
2626
Write-Host " -restore Restore dependencies"
2727
Write-Host " -verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]"
2828
Write-Host " -help Print help and exit"

‎eng/common/sdk-task.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
show_usage() {
44
echo "Common settings:"
5-
echo " --task <value> Name of Arcade task (name of a project in SdkTasks directory of the Arcade SDK package)"
5+
echo " --task <value> Name of Arcade task (name of a project in toolset directory of the Arcade SDK package)"
66
echo " --restore Restore dependencies"
77
echo " --verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]"
88
echo " --help Print help and exit"

0 commit comments

Comments
 (0)