Skip to content

Commit ec36299

Browse files
authored
Merge main to feature/10.0 (#8130)
2 parents 81cf86d + 990e9d4 commit ec36299

File tree

6 files changed

+13
-28
lines changed

6 files changed

+13
-28
lines changed

eng/Version.Details.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<Uri>https://github.com/dotnet/aspnetcore</Uri>
55
<Sha>a94ba4b6c94e09433b586db219bd854e70021e5a</Sha>
66
</Dependency>
7-
<Dependency Name="Microsoft.Diagnostics.Monitoring" Version="9.0.0-preview.25155.1">
7+
<Dependency Name="Microsoft.Diagnostics.Monitoring" Version="9.0.0-preview.25220.1">
88
<Uri>https://github.com/dotnet/diagnostics</Uri>
9-
<Sha>b1037b7cc1ef0b00a9032f19a83b074a00c9a4b8</Sha>
9+
<Sha>22431fb5bfe047454e652a7274f4b4bc4b367527</Sha>
1010
</Dependency>
11-
<Dependency Name="Microsoft.Diagnostics.Monitoring.EventPipe" Version="9.0.0-preview.25155.1">
11+
<Dependency Name="Microsoft.Diagnostics.Monitoring.EventPipe" Version="9.0.0-preview.25220.1">
1212
<Uri>https://github.com/dotnet/diagnostics</Uri>
13-
<Sha>b1037b7cc1ef0b00a9032f19a83b074a00c9a4b8</Sha>
13+
<Sha>22431fb5bfe047454e652a7274f4b4bc4b367527</Sha>
1414
</Dependency>
1515
<Dependency Name="System.CommandLine" Version="2.0.0-beta5.25170.1">
1616
<Uri>https://github.com/dotnet/command-line-api</Uri>
@@ -42,9 +42,9 @@
4242
<Uri>https://github.com/dotnet/arcade</Uri>
4343
<Sha>76dd1b4eb3b15881da350de93805ea6ab936364c</Sha>
4444
</Dependency>
45-
<Dependency Name="Microsoft.FileFormats" Version="1.0.615501">
45+
<Dependency Name="Microsoft.FileFormats" Version="1.0.622001">
4646
<Uri>https://github.com/dotnet/diagnostics</Uri>
47-
<Sha>b1037b7cc1ef0b00a9032f19a83b074a00c9a4b8</Sha>
47+
<Sha>22431fb5bfe047454e652a7274f4b4bc4b367527</Sha>
4848
</Dependency>
4949
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="10.0.0-preview.4.25215.12" CoherentParentDependency="VS.Redist.Common.NetCore.SdkPlaceholder.x64.10.0">
5050
<Uri>https://github.com/dotnet/runtime</Uri>

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<!-- dotnet/command-line-api references -->
5858
<SystemCommandLineVersion>2.0.0-beta5.25170.1</SystemCommandLineVersion>
5959
<!-- dotnet/diagnostics references -->
60-
<MicrosoftDiagnosticsMonitoringVersion>9.0.0-preview.25155.1</MicrosoftDiagnosticsMonitoringVersion>
61-
<MicrosoftDiagnosticsMonitoringEventPipeVersion>9.0.0-preview.25155.1</MicrosoftDiagnosticsMonitoringEventPipeVersion>
60+
<MicrosoftDiagnosticsMonitoringVersion>9.0.0-preview.25220.1</MicrosoftDiagnosticsMonitoringVersion>
61+
<MicrosoftDiagnosticsMonitoringEventPipeVersion>9.0.0-preview.25220.1</MicrosoftDiagnosticsMonitoringEventPipeVersion>
6262
<!-- dotnet/roslyn-analyzers -->
6363
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview.25076.3</MicrosoftCodeAnalysisNetAnalyzersVersion>
6464
<!-- dotnet/runtime references -->
@@ -67,7 +67,7 @@
6767
<!-- dotnet/sdk references -->
6868
<VSRedistCommonNetCoreSdkPlaceholderx64100Version>10.0.100-preview.4.25216.30</VSRedistCommonNetCoreSdkPlaceholderx64100Version>
6969
<!-- dotnet/symstore references -->
70-
<MicrosoftFileFormatsVersion>1.0.615501</MicrosoftFileFormatsVersion>
70+
<MicrosoftFileFormatsVersion>1.0.622001</MicrosoftFileFormatsVersion>
7171
</PropertyGroup>
7272
<PropertyGroup Label="Runtime Versions">
7373
<MicrosoftAspNetCoreApp80Version>$(MicrosoftNETCoreApp80Version)</MicrosoftAspNetCoreApp80Version>

eng/dependabot/independent/Packages.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<!-- Third-party references -->
1717
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
1818
<PackageReference Include="NJsonSchema" Version="$(NJsonSchemaVersion)" />
19-
<PackageReference Include="Swashbuckle.AspNetCore" Version="$(SwashbuckleAspNetCoreVersion)" />
2019
<PackageReference Include="Moq" Version="$(MoqVersion)" />
2120
<PackageReference Include="AWSSDK.S3" Version="$(AwsSdkS3Version)" />
2221
<PackageReference Include="AWSSDK.SecurityToken" Version="$(AwsSdkSecurityTokenVersion)" />

eng/dependabot/independent/Versions.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<!-- Third-party references -->
1515
<NewtonsoftJsonVersion>13.0.3</NewtonsoftJsonVersion>
1616
<NJsonSchemaVersion>11.0.0</NJsonSchemaVersion>
17-
<SwashbuckleAspNetCoreVersion>7.2.0</SwashbuckleAspNetCoreVersion>
1817
<AwsSdkS3Version>3.7.305.7</AwsSdkS3Version>
1918
<AwsSdkSecurityTokenVersion>3.7.300.33</AwsSdkSecurityTokenVersion>
2019

eng/dependabot/nuget.org/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<!-- Import references updated by Dependabot. -->
33
<PropertyGroup>
44
<!-- dotnet/diagnostics references -->
5-
<MicrosoftDiagnosticsMonitoringShippedVersion>9.0.607501</MicrosoftDiagnosticsMonitoringShippedVersion>
5+
<MicrosoftDiagnosticsMonitoringShippedVersion>9.0.621003</MicrosoftDiagnosticsMonitoringShippedVersion>
66
</PropertyGroup>
77
</Project>

src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTestCommon/EndpointInfoSourceCallback.cs

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
using System;
99
using System.Collections.Generic;
1010
using System.Linq;
11-
using System.Reflection;
1211
using System.Threading;
1312
using System.Threading.Tasks;
14-
using Xunit;
1513
using Xunit.Abstractions;
1614

1715
namespace Microsoft.Diagnostics.Monitoring.TestCommon
@@ -80,7 +78,9 @@ public virtual async Task OnBeforeResumeAsync(IEndpointInfo endpointInfo, Cancel
8078
{
8179
if (endpointInfo.RuntimeVersion.Major >= 8 && !string.IsNullOrEmpty(_startupHookPath))
8280
{
83-
await ApplyStartupHookAsync(new DiagnosticsClient(endpointInfo.ProcessId), _startupHookPath, token);
81+
DiagnosticsClient client = new(endpointInfo.ProcessId);
82+
83+
await client.ApplyStartupHookAsync(_startupHookPath, token);
8484
}
8585
}
8686

@@ -106,19 +106,6 @@ public Task OnRemovedEndpointInfoAsync(IEndpointInfo info, CancellationToken tok
106106
token);
107107
}
108108

109-
private static Task ApplyStartupHookAsync(DiagnosticsClient client, string path, CancellationToken token)
110-
{
111-
// DiagnosticsClient.ApplyStartupHookAsync currently is not public
112-
MethodBase applyStartupHookAsync =
113-
typeof(DiagnosticsClient).GetMethod(
114-
"ApplyStartupHookAsync",
115-
BindingFlags.Instance | BindingFlags.NonPublic);
116-
117-
Assert.NotNull(applyStartupHookAsync);
118-
119-
return (Task)applyStartupHookAsync.Invoke(client, new object[] { path, token });
120-
}
121-
122109
private static async Task<IEndpointInfo> WaitForCompletionAsync(string operation, SemaphoreSlim semaphore, List<CompletionEntry> entries, ITestOutputHelper outputHelper, AppRunner runner, TimeSpan timeout)
123110
{
124111
CompletionEntry entry = new(runner);

0 commit comments

Comments
 (0)