Skip to content

Commit 0472e59

Browse files
authored
Merge branch 'release/9.0.1xx' into dev/dl/global-tools-update-nre
2 parents e31efd2 + 3fcfac7 commit 0472e59

14 files changed

+952
-11
lines changed

Diff for: eng/Version.Details.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -441,15 +441,15 @@
441441
<SourceBuild RepoName="command-line-api" ManagedOnly="true" />
442442
</Dependency>
443443
<!-- Intermediate is necessary for source build. -->
444-
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="9.0.0-alpha.1.24466.2">
444+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="9.0.0-alpha.1.24467.1">
445445
<Uri>https://github.com/dotnet/source-build-externals</Uri>
446-
<Sha>e4ddbedd151b969514f2c5b756616707c31e0bfb</Sha>
446+
<Sha>4e60131607fd144eb86fe4487f1a37da940ca990</Sha>
447447
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
448448
</Dependency>
449449
<!-- Intermediate is necessary for source build. -->
450-
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.24459.3">
450+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.24468.2">
451451
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
452-
<Sha>46174fbca16412ddabc1e881f6281192924e4ed3</Sha>
452+
<Sha>6a1e86367923914589bda2244eb2321b97523c33</Sha>
453453
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
454454
</Dependency>
455455
<Dependency Name="Microsoft.Deployment.DotNet.Releases" Version="2.0.0-preview.1.24406.1">

Diff for: sdk.sln

+8
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,8 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Microsoft.WebTools.AspireSe
507507
EndProject
508508
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Net.Sdk.Compilers.Toolset", "src\Microsoft.Net.Sdk.Compilers.Toolset\Microsoft.Net.Sdk.Compilers.Toolset.csproj", "{FA579C03-2EB4-4D47-88EE-BFF339E96FAF}"
509509
EndProject
510+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.WebTools.AspireService.Tests", "test\Microsoft.WebTools.AspireService.Tests\Microsoft.WebTools.AspireService.Tests.csproj", "{1F0B4B3C-DC88-4740-B04F-1707102E9930}"
511+
EndProject
510512
Global
511513
GlobalSection(SolutionConfigurationPlatforms) = preSolution
512514
Debug|Any CPU = Debug|Any CPU
@@ -965,6 +967,10 @@ Global
965967
{FA579C03-2EB4-4D47-88EE-BFF339E96FAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
966968
{FA579C03-2EB4-4D47-88EE-BFF339E96FAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
967969
{FA579C03-2EB4-4D47-88EE-BFF339E96FAF}.Release|Any CPU.Build.0 = Release|Any CPU
970+
{1F0B4B3C-DC88-4740-B04F-1707102E9930}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
971+
{1F0B4B3C-DC88-4740-B04F-1707102E9930}.Debug|Any CPU.Build.0 = Debug|Any CPU
972+
{1F0B4B3C-DC88-4740-B04F-1707102E9930}.Release|Any CPU.ActiveCfg = Release|Any CPU
973+
{1F0B4B3C-DC88-4740-B04F-1707102E9930}.Release|Any CPU.Build.0 = Release|Any CPU
968974
EndGlobalSection
969975
GlobalSection(SolutionProperties) = preSolution
970976
HideSolutionNode = FALSE
@@ -1143,13 +1149,15 @@ Global
11431149
{19014C60-F87C-4CC7-AC0F-C41B6126EBCE} = {71A9F549-0EB6-41F9-BC16-4A6C5007FC91}
11441150
{94C8526E-DCC2-442F-9868-3DD0BA2688BE} = {71A9F549-0EB6-41F9-BC16-4A6C5007FC91}
11451151
{FA579C03-2EB4-4D47-88EE-BFF339E96FAF} = {22AB674F-ED91-4FBC-BFEE-8A1E82F9F05E}
1152+
{1F0B4B3C-DC88-4740-B04F-1707102E9930} = {580D1AE7-AA8F-4912-8B76-105594E00B3B}
11461153
EndGlobalSection
11471154
GlobalSection(ExtensibilityGlobals) = postSolution
11481155
SolutionGuid = {FB8F26CE-4DE6-433F-B32A-79183020BBD6}
11491156
EndGlobalSection
11501157
GlobalSection(SharedMSBuildProjectFiles) = preSolution
11511158
src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\Microsoft.DotNet.ApiCompat.Shared.projitems*{03c5a84a-982b-4f38-ac73-ab832c645c4a}*SharedItemsImports = 5
11521159
src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\Microsoft.DotNet.ApiCompat.Shared.projitems*{0a3c9afd-f6e6-4a5d-83fb-93bf66732696}*SharedItemsImports = 5
1160+
src\BuiltInTools\AspireService\Microsoft.WebTools.AspireService.projitems*{1f0b4b3c-dc88-4740-b04f-1707102e9930}*SharedItemsImports = 5
11531161
src\BuiltInTools\AspireService\Microsoft.WebTools.AspireService.projitems*{94c8526e-dcc2-442f-9868-3dd0ba2688be}*SharedItemsImports = 13
11541162
src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\Microsoft.DotNet.ApiCompat.Shared.projitems*{9d36039f-d0a1-462f-85b4-81763c6b02cb}*SharedItemsImports = 13
11551163
src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\Microsoft.DotNet.ApiCompat.Shared.projitems*{a9103b98-d888-4260-8a05-fa36f640698a}*SharedItemsImports = 5

Diff for: src/BuiltInTools/AspireService/AspireServerService.cs

-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Diagnostics;
74
using System.Net;
85
using System.Net.WebSockets;
96
using System.Security.Cryptography;
107
using System.Security.Cryptography.X509Certificates;
11-
using System.Text;
128
using System.Text.Json;
139
using System.Text.Json.Serialization;
14-
using System.Threading;
15-
using System.Threading.Tasks;
1610
using Microsoft.AspNetCore.Builder;
1711
using Microsoft.AspNetCore.Hosting;
1812
using Microsoft.AspNetCore.Http;

Diff for: src/BuiltInTools/AspireService/Helpers/CertGenerator.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
54
using System.Security.Cryptography;
65
using System.Security.Cryptography.X509Certificates;
76

@@ -35,7 +34,11 @@ public static X509Certificate2 GenerateCert()
3534
// The file will be automatically generated by the following call and disposed when the returned cert is disposed.
3635
using (cert)
3736
{
37+
#if NET9_0_OR_GREATER
38+
return X509CertificateLoader.LoadPkcs12(cert.Export(X509ContentType.Pfx), password: null, X509KeyStorageFlags.UserKeySet);
39+
#else
3840
return new X509Certificate2(cert.Export(X509ContentType.Pfx), "", X509KeyStorageFlags.UserKeySet);
41+
#endif
3942
}
4043
}
4144
else

0 commit comments

Comments
 (0)