Skip to content

Commit 20237b9

Browse files
authored
Merge branch 'main' into ApiDiffPart2
2 parents fe5721f + b07efa9 commit 20237b9

34 files changed

+810
-337
lines changed

eng/Version.Details.xml

Lines changed: 184 additions & 184 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 75 additions & 75 deletions
Large diffs are not rendered by default.

eng/common/cross/build-rootfs.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ __QEMUArch=arm
3333
__UbuntuArch=armhf
3434
__UbuntuRepo=
3535
__UbuntuSuites="updates security backports"
36-
__DebianSuites=
3736
__LLDB_Package="liblldb-3.9-dev"
3837
__SkipUnmount=0
3938

@@ -188,8 +187,7 @@ while :; do
188187
__AlpineArch=loongarch64
189188
__QEMUArch=loongarch64
190189
__UbuntuArch=loong64
191-
__UbuntuSuites=
192-
__DebianSuites=unreleased
190+
__UbuntuSuites=unreleased
193191
__LLDB_Package="liblldb-19-dev"
194192

195193
if [[ "$__CodeName" == "sid" ]]; then
@@ -782,6 +780,8 @@ elif [[ "$__CodeName" == "haiku" ]]; then
782780
popd
783781
rm -rf "$__RootfsDir/tmp"
784782
elif [[ -n "$__CodeName" ]]; then
783+
__Suites="$__CodeName $(for suite in $__UbuntuSuites; do echo -n "$__CodeName-$suite "; done)"
784+
785785
if [[ "$__SkipEmulation" == "1" ]]; then
786786
if [[ -z "$AR" ]]; then
787787
if command -v ar &>/dev/null; then
@@ -794,19 +794,16 @@ elif [[ -n "$__CodeName" ]]; then
794794
fi
795795
fi
796796

797-
# shellcheck disable=SC2086
798-
suites="$__CodeName $__DebianSuites $(echo $__UbuntuSuites | xargs -n 1 | xargs -I {} echo -n "$__CodeName-{} ")"
799-
800797
PYTHON=${PYTHON_EXECUTABLE:-python3}
801798

802799
# shellcheck disable=SC2086,SC2046
803800
echo running "$PYTHON" "$__CrossDir/install-debs.py" --arch "$__UbuntuArch" --mirror "$__UbuntuRepo" --rootfsdir "$__RootfsDir" --artool "$AR" \
804-
$(echo $suites | xargs -n 1 | xargs -I {} echo -n "--suite {} ") \
801+
$(for suite in $__Suites; do echo -n "--suite $suite "; done) \
805802
$__UbuntuPackages
806803

807804
# shellcheck disable=SC2086,SC2046
808805
"$PYTHON" "$__CrossDir/install-debs.py" --arch "$__UbuntuArch" --mirror "$__UbuntuRepo" --rootfsdir "$__RootfsDir" --artool "$AR" \
809-
$(echo $suites | xargs -n 1 | xargs -I {} echo -n "--suite {} ") \
806+
$(for suite in $__Suites; do echo -n "--suite $suite "; done) \
810807
$__UbuntuPackages
811808

812809
exit 0
@@ -837,7 +834,7 @@ elif [[ -n "$__CodeName" ]]; then
837834
cat > "$__RootfsDir/etc/apt/sources.list.d/$__CodeName.sources" <<EOF
838835
Types: deb
839836
URIs: $__UbuntuRepo
840-
Suites: $__CodeName $__DebianSuites $(echo $__UbuntuSuites | xargs -n 1 | xargs -I {} echo -n "$__CodeName-{} ")
837+
Suites: $__Suites
841838
Components: main universe
842839
Signed-By: $__KeyringFile
843840
EOF

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"cmake": "latest"
1818
},
1919
"msbuild-sdks": {
20-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25056.1",
21-
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25056.1",
20+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25057.5",
21+
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25057.5",
2222
"Microsoft.Build.NoTargets": "3.7.0",
2323
"Microsoft.DotNet.CMake.Sdk": "9.0.0-beta.24217.1"
2424
}

src/Cli/Microsoft.TemplateEngine.Cli/TemplateListCoordinator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ private async Task<IEnumerable<ITemplateInfo>> GetCuratedListAsync(CancellationT
253253
"Microsoft.Common.Console", //console
254254
"Microsoft.Common.WPF", //wpf
255255
"Microsoft.Common.WinForms", //winforms
256-
"Microsoft.Web.Blazor" //blazor
256+
"Microsoft.Web.Blazor", //blazor
257+
"Microsoft.Test.MSTest" //mstest
257258
};
258259

259260
IReadOnlyList<ITemplateInfo> templates = await _templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false);

src/SourceBuild/content/Directory.Build.targets

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

33
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(SkipArcadeSdkImport)' != 'true'" />
44

5-
<Target Name="DetermineSourceBuiltSdkVersion">
5+
<!-- The SkipPrepareSdkArchive switch exists so that outside components like the license scan test pipeline
6+
can run a subset of tests that don't need the SDK archive without building the VMR.
7+
The switch is also useful for the local dev innerloop to build the test projects without needing to run them. -->
8+
<Target Name="DetermineSourceBuiltSdkVersion" Condition="'$(SkipPrepareSdkArchive)' != 'true'">
69
<PropertyGroup>
710
<SdkFilenamePrefix>dotnet-sdk-</SdkFilenamePrefix>
811
</PropertyGroup>

src/SourceBuild/content/eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<ProductDependencies>
33
</ProductDependencies>
44
<ToolsetDependencies>
5-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.24604.4">
5+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25056.1">
66
<Uri>https://github.com/dotnet/arcade</Uri>
7-
<Sha>45d845e04c05fbe5da9838c454bbc3af1df6be81</Sha>
7+
<Sha>e58820063a8754d418518bce69ca2df0e3b4ac25</Sha>
88
</Dependency>
99
</ToolsetDependencies>
1010
</Dependencies>

src/SourceBuild/content/eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
of a .NET major or minor release, prebuilts may be needed. When the release is mature, prebuilts
2424
are not necessary, and this property is removed from the file.
2525
-->
26-
<PrivateSourceBuiltSdkVersion>10.0.100-alpha.1.24612.1</PrivateSourceBuiltSdkVersion>
27-
<PrivateSourceBuiltArtifactsVersion>10.0.100-alpha.1.24612.1-2</PrivateSourceBuiltArtifactsVersion>
26+
<PrivateSourceBuiltSdkVersion>10.0.100-alpha.1.25057.1</PrivateSourceBuiltSdkVersion>
27+
<PrivateSourceBuiltArtifactsVersion>10.0.100-alpha.1.25057.1-2</PrivateSourceBuiltArtifactsVersion>
2828
<PrivateSourceBuiltPrebuiltsVersion>0.1.0-10.0.100-7</PrivateSourceBuiltPrebuiltsVersion>
2929
<!-- command-line-api dependencies -->
3030
<SystemCommandLineVersion>2.0.0-beta4.24126.1</SystemCommandLineVersion>

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CatalogFileEntry.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
#nullable disable
6+
57
using System;
68
using System.Collections.Generic;
79
using System.Text;

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CatalogPackageEntry.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
#nullable disable
6+
57
using System;
68
using System.Collections.Generic;
79
using System.Linq;

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CheckForPoison.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
#nullable disable
6+
57
using Microsoft.Build.Framework;
68
using Microsoft.Build.Utilities;
79
using System;

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/DummyAttributeTypeProvider.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace Microsoft.DotNet.SourceBuild.Tasks.LeakDetection
1111
{
12-
1312
// An empty ICustomAttributeTypeProvider implementation is necessary to read metadata attribute values.
1413
internal class DummyAttributeTypeProvider : ICustomAttributeTypeProvider<Type?>
1514
{

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/MarkAndCatalogPackages.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
#nullable disable
6+
57
using Microsoft.Build.Framework;
68
using Microsoft.Build.Utilities;
79
using Microsoft.DotNet.UnifiedBuild.Tasks;

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/NuGet.Config

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/PoisonMatch.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
#nullable disable
6+
57
using System;
68
using System.Collections.Generic;
79
using System.Text;

src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/PoisonedFileEntry.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
#nullable disable
6+
57
using System;
68
using System.Collections.Generic;
79
using System.Linq;

src/SourceBuild/content/global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"tools": {
3-
"dotnet": "10.0.100-alpha.1.24611.6"
3+
"dotnet": "10.0.100-alpha.1.25056.8"
44
},
55
"msbuild-sdks": {
66
"Microsoft.Build.NoTargets": "3.7.0",
77
"Microsoft.Build.Traversal": "3.4.0",
8-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.24604.4"
8+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25056.1"
99
}
1010
}

src/SourceBuild/content/test/Directory.Build.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
<PropertyGroup>
1111
<VSTestResultsDirectory>$(ArtifactsTestResultsDir)</VSTestResultsDirectory>
12-
<!-- Set roll forward to allow tests to run against a newer runtime. This is necessary when tests still
13-
target a previous TFM but the SDK already provides the newer runtime. -->
14-
<RollForward>Major</RollForward>
1512
</PropertyGroup>
1613

1714
</Project>

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.Tests/Directory.Build.props

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.Tests/Microsoft.DotNet.SourceBuild.Tests.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
<!-- Multiple loggers are specified so that results are captured in trx and pipelines can fail with AzDO pipeline warnings
1111
Workaround https://github.com/dotnet/source-build/issues/4003 by disabling VSTestUseMSBuildOutput -->
1212
<VSTestUseMSBuildOutput>false</VSTestUseMSBuildOutput>
13-
<!-- The license scan test pipeline invokes this project directly and only runs the license scan tests.
14-
They don't require the SDK archive and therefore don't build the VMR. The DetermineSourceBuiltSdkVersion
15-
target would fail as the SDK archive doesn't exist. This hook disables invoking the target and the P2P below. -->
16-
<SetRuntimeConfigOptionsDependsOn Condition="'$(SkipPrepareSdkArchive)' != 'true'">DetermineSourceBuiltSdkVersion</SetRuntimeConfigOptionsDependsOn>
13+
<SetRuntimeConfigOptionsDependsOn Condition="'$(SkipPrepareSdkArchive)' != 'true'"></SetRuntimeConfigOptionsDependsOn>
1714
</PropertyGroup>
1815

1916
<ItemGroup>
@@ -36,7 +33,7 @@
3633
</ItemGroup>
3734

3835
<Target Name="SetRuntimeConfigOptions"
39-
DependsOnTargets="$(SetRuntimeConfigOptionsDependsOn)"
36+
DependsOnTargets="DetermineSourceBuiltSdkVersion"
4037
BeforeTargets="_GenerateRuntimeConfigurationFilesInputCache">
4138
<ItemGroup Condition="'$(SourceBuiltArtifactsPath)' == ''">
4239
<SourceBuiltArtifactsItem Include="$(ArtifactsAssetsDir)$(SourceBuiltArtifactsTarballName).*$(ArchiveExtension)" />

src/SourceBuild/content/test/Microsoft.DotNet.UnifiedBuild.Tests/Microsoft.DotNet.UnifiedBuild.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" />
1313
<PackageReference Include="NuGet.Protocol" />
14-
<ProjectReference Include="$(RepositoryEngineeringDir)extract-sdk-archive.proj" ReferenceOutputAssembly="false" />
15-
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" ReferenceOutputAssembly="false" />
14+
<ProjectReference Include="$(RepositoryEngineeringDir)extract-sdk-archive.proj" ReferenceOutputAssembly="false" Condition="'$(SkipPrepareSdkArchive)' != 'true'" />
15+
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" ReferenceOutputAssembly="false" Condition="'$(SkipPrepareSdkArchive)' != 'true'" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

src/SourceBuild/content/test/tests.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<!-- Make sure that the sdk archive is extracted before running the scenario-tests. Need to do this here as it's hard
3232
to define the dependency directly in scenario-tests.proj. -->
3333
<ItemGroup>
34-
<ProjectReference Include="$(RepositoryEngineeringDir)extract-sdk-archive.proj" BuildInParallel="false" />
34+
<ProjectReference Include="$(RepositoryEngineeringDir)extract-sdk-archive.proj" BuildInParallel="false" Condition="'$(SkipPrepareSdkArchive)' != 'true'" />
3535
<ProjectReference Include="$(RepoProjectsDir)scenario-tests.proj" Condition="'$(_RunScenarioTests)' == 'true'" BuildInParallel="false" />
3636
</ItemGroup>
3737

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From d04dfb1ab0f13dbe0f15c065d7f127d8747a0832 Mon Sep 17 00:00:00 2001
2+
From: Viktor Hofer <viktor.hofer@microsoft.com>
3+
Date: Thu, 9 Jan 2025 08:54:39 +0100
4+
Subject: [PATCH] Use the latest available jdk
5+
6+
Backport: https://github.com/dotnet/aspnetcore/pull/59788
7+
8+
---
9+
global.json | 2 +-
10+
src/SignalR/clients/java/signalr/build.gradle | 2 +-
11+
2 files changed, 2 insertions(+), 2 deletions(-)
12+
13+
diff --git a/global.json b/global.json
14+
index c1270224e3..bd7a41270d 100644
15+
--- a/global.json
16+
+++ b/global.json
17+
@@ -24,7 +24,7 @@
18+
"xcopy-msbuild": "17.8.5"
19+
},
20+
"native-tools": {
21+
- "jdk": "11.0.24"
22+
+ "jdk": "latest"
23+
},
24+
"msbuild-sdks": {
25+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25056.1",
26+
diff --git a/src/SignalR/clients/java/signalr/build.gradle b/src/SignalR/clients/java/signalr/build.gradle
27+
index 895f8c4338..3e192445c9 100644
28+
--- a/src/SignalR/clients/java/signalr/build.gradle
29+
+++ b/src/SignalR/clients/java/signalr/build.gradle
30+
@@ -22,7 +22,7 @@ allprojects {
31+
version project.findProperty('packageVersion') ?: "99.99.99-dev"
32+
33+
java {
34+
- sourceCompatibility = 1.8
35+
+ sourceCompatibility = 1.9
36+
}
37+
38+
repositories {
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
From faa695199c8b8886c0d923f25a57c9728afeafbf Mon Sep 17 00:00:00 2001
2+
From: Matt Thalman <mthalman@microsoft.com>
3+
Date: Tue, 7 Jan 2025 14:48:06 -0600
4+
Subject: [PATCH] Remove unused fields
5+
6+
Backport: https://github.com/dotnet/razor/pull/11358
7+
---
8+
.../Microsoft.AspNetCore.Razor.LanguageServer/LspServices.cs | 4 +---
9+
.../AutoInsert/RemoteAutoInsertService.cs | 1 -
10+
2 files changed, 1 insertion(+), 4 deletions(-)
11+
12+
diff --git a/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/LspServices.cs b/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/LspServices.cs
13+
index 43a17a0402..01bf4ada70 100644
14+
--- a/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/LspServices.cs
15+
+++ b/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/LspServices.cs
16+
@@ -14,16 +14,14 @@ namespace Microsoft.AspNetCore.Razor.LanguageServer;
17+
internal class LspServices : ILspServices
18+
{
19+
private readonly IServiceProvider _serviceProvider;
20+
- private readonly IEnumerable<IRazorStartupService> _startupServices;
21+
public bool IsDisposed = false;
22+
23+
public LspServices(IServiceCollection serviceCollection)
24+
{
25+
serviceCollection.AddSingleton<ILspServices>(this);
26+
_serviceProvider = serviceCollection.BuildServiceProvider();
27+
-
28+
// Create all startup services
29+
- _startupServices = _serviceProvider.GetServices<IRazorStartupService>();
30+
+ _serviceProvider.GetServices<IRazorStartupService>();
31+
}
32+
33+
public ImmutableArray<Type> GetRegisteredServices()
34+
diff --git a/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/AutoInsert/RemoteAutoInsertService.cs b/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/AutoInsert/RemoteAutoInsertService.cs
35+
index 27dcc78952..f8ab749b66 100644
36+
--- a/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/AutoInsert/RemoteAutoInsertService.cs
37+
+++ b/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/AutoInsert/RemoteAutoInsertService.cs
38+
@@ -32,7 +32,6 @@ internal sealed class RemoteAutoInsertService(in ServiceArgs args)
39+
}
40+
41+
private readonly IAutoInsertService _autoInsertService = args.ExportProvider.GetExportedValue<IAutoInsertService>();
42+
- private readonly IFilePathService _filePathService = args.ExportProvider.GetExportedValue<IFilePathService>();
43+
private readonly IRazorFormattingService _razorFormattingService = args.ExportProvider.GetExportedValue<IRazorFormattingService>();
44+
45+
protected override IDocumentPositionInfoStrategy DocumentPositionInfoStrategy => PreferHtmlInAttributeValuesDocumentPositionInfoStrategy.Instance;

0 commit comments

Comments
 (0)