Skip to content

[main] Update dependencies from dotnet/runtime dotnet/efcore #50019

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 9 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions eng/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ and are generated based on the last package release.
<LatestPackageReference Include="Microsoft.Extensions.DependencyInjection" />
<LatestPackageReference Include="Microsoft.Extensions.DependencyModel" />
<LatestPackageReference Include="Microsoft.Extensions.DiagnosticAdapter" />
<LatestPackageReference Include="Microsoft.Extensions.Diagnostics.Abstractions" />
<LatestPackageReference Include="Microsoft.Extensions.Diagnostics" />
<LatestPackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" />
<LatestPackageReference Include="Microsoft.Extensions.FileProviders.Composite" />
Expand Down
1 change: 1 addition & 0 deletions eng/SharedFramework.External.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Configuration" Version="$(MicrosoftExtensionsConfigurationVersion)" />
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsVersion)" />
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Diagnostics.Abstractions" Version="$(MicrosoftExtensionsDiagnosticsAbstractionsVersion)" />
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Diagnostics" Version="$(MicrosoftExtensionsDiagnosticsVersion)" />
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.FileProviders.Abstractions" Version="$(MicrosoftExtensionsFileProvidersAbstractionsVersion)" />
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.FileProviders.Composite" Version="$(MicrosoftExtensionsFileProvidersCompositeVersion)" />
Expand Down
312 changes: 158 additions & 154 deletions eng/Version.Details.xml

Large diffs are not rendered by default.

155 changes: 78 additions & 77 deletions eng/Versions.props

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/DefaultBuilder/DefaultBuilder.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"solution": {
"path": "..\\..\\AspNetCore.sln",
"projects": [
"src\\Antiforgery\\src\\Microsoft.AspNetCore.Antiforgery.csproj",
"src\\DefaultBuilder\\samples\\SampleApp\\DefaultBuilder.SampleApp.csproj",
"src\\DefaultBuilder\\src\\Microsoft.AspNetCore.csproj",
"src\\DefaultBuilder\\test\\Microsoft.AspNetCore.FunctionalTests\\Microsoft.AspNetCore.FunctionalTests.csproj",
Expand Down Expand Up @@ -29,6 +30,7 @@
"src\\Middleware\\HttpOverrides\\src\\Microsoft.AspNetCore.HttpOverrides.csproj",
"src\\Middleware\\StaticFiles\\src\\Microsoft.AspNetCore.StaticFiles.csproj",
"src\\ObjectPool\\src\\Microsoft.Extensions.ObjectPool.csproj",
"src\\Security\\Authentication\\Core\\src\\Microsoft.AspNetCore.Authentication.csproj",
"src\\Security\\Authorization\\Core\\src\\Microsoft.AspNetCore.Authorization.csproj",
"src\\Servers\\Connections.Abstractions\\src\\Microsoft.AspNetCore.Connections.Abstractions.csproj",
"src\\Servers\\IIS\\IISIntegration\\src\\Microsoft.AspNetCore.Server.IISIntegration.csproj",
Expand Down
1 change: 1 addition & 0 deletions src/DefaultBuilder/src/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#nullable enable
Microsoft.AspNetCore.Builder.WebApplicationBuilder.Metrics.get -> Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder!
static Microsoft.AspNetCore.Builder.WebApplication.CreateEmptyBuilder(Microsoft.AspNetCore.Builder.WebApplicationOptions! options) -> Microsoft.AspNetCore.Builder.WebApplicationBuilder!
static Microsoft.AspNetCore.Builder.WebApplication.CreateSlimBuilder() -> Microsoft.AspNetCore.Builder.WebApplicationBuilder!
static Microsoft.AspNetCore.Builder.WebApplication.CreateSlimBuilder(Microsoft.AspNetCore.Builder.WebApplicationOptions! options) -> Microsoft.AspNetCore.Builder.WebApplicationBuilder!
Expand Down
6 changes: 6 additions & 0 deletions src/DefaultBuilder/src/WebApplicationBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.Metrics;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

Expand Down Expand Up @@ -347,6 +348,11 @@ private static void AddDefaultServicesSlim(ConfigurationManager configuration, I
/// </summary>
public ILoggingBuilder Logging => _hostApplicationBuilder.Logging;

/// <summary>
/// Allows enabling metrics and directing their output.
/// </summary>
public IMetricsBuilder Metrics => _hostApplicationBuilder.Metrics;

/// <summary>
/// An <see cref="IWebHostBuilder"/> for configuring server specific properties, but not building.
/// To build after configuration, call <see cref="Build"/>.
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/test/TestData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ static TestData()
"Microsoft.Extensions.DependencyInjection",
"Microsoft.Extensions.DependencyInjection.Abstractions",
"Microsoft.Extensions.Diagnostics",
"Microsoft.Extensions.Diagnostics.Abstractions",
"Microsoft.Extensions.Diagnostics.HealthChecks",
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions",
"Microsoft.Extensions.FileProviders.Abstractions",
Expand Down Expand Up @@ -270,6 +271,7 @@ static TestData()
{ "Microsoft.Extensions.DependencyInjection.Abstractions" },
{ "Microsoft.Extensions.DependencyInjection" },
{ "Microsoft.Extensions.Diagnostics" },
{ "Microsoft.Extensions.Diagnostics.Abstractions" },
{ "Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions" },
{ "Microsoft.Extensions.Diagnostics.HealthChecks" },
{ "Microsoft.Extensions.Features" },
Expand Down
6 changes: 5 additions & 1 deletion src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
<Reference Include="Microsoft.Extensions.Hosting.Abstractions" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.6.0">
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp2.1'">
<Reference Include="System.Diagnostics.DiagnosticSource" />
</ItemGroup>

<ItemGroup>
<Reference Include="Microsoft.Extensions.HostFactoryResolver.Sources" />
<Compile Include="$(SharedSourceRoot)CommandLineUtils\**\*.cs" />
Expand Down