Skip to content

Commit 2dd1d0e

Browse files
committed
Target .NET 8
1 parent c50e2f6 commit 2dd1d0e

File tree

72 files changed

+97
-96
lines changed

Some content is hidden

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

72 files changed

+97
-96
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ updates:
99
schedule:
1010
interval: weekly
1111
allow:
12+
- dependency-name: Azure.Identity
1213
- dependency-name: Castle.Core
14+
- dependency-name: Grpc.AspNetCore
1315
- dependency-name: Humanizer.Core
1416
- dependency-name: IdentityServer4.EntityFramework
17+
- dependency-name: Microsoft.AspNetCore.Identity.EntityFrameworkCore
1518
- dependency-name: Microsoft.AspNetCore.OData
1619
- dependency-name: Microsoft.Azure.Cosmos
1720
- dependency-name: Microsoft.CSharp

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
<LangVersion>11.0</LangVersion>
2626
<DebugType>portable</DebugType>
2727
<PackageProjectUrl>https://docs.microsoft.com/ef/core/</PackageProjectUrl>
28+
<!-- HACK: Work around ericsink/SQLitePCL.raw#543 -->
29+
<NoWarn>$(NoWarn);NETSDK1206</NoWarn>
2830
</PropertyGroup>
2931

3032
<PropertyGroup Condition="'$(DeveloperBuild)' == 'true'">

NuGet.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
99
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
1010
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
11-
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
12-
<add key="dotnet7-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7-transport/nuget/v3/index.json" />
1311
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
1412
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
1513
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />

benchmark/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="BenchmarkDotNet" Version="0.13.2" />
9+
<PackageReference Include="BenchmarkDotNet" Version="0.13.5" />
1010
<PackageReference Include="xunit.assert" Version="$(XunitVersion)" />
1111
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="$(MicrosoftExtensionsConfigurationJsonVersion)" />
1212
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="$(MicrosoftExtensionsConfigurationEnvironmentVariablesVersion)" />

benchmark/EFCore.Benchmarks/EFCore.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RootNamespace>Microsoft.EntityFrameworkCore.Benchmarks</RootNamespace>
66
</PropertyGroup>
77

benchmark/EFCore.SqlServer.Benchmarks/EFCore.SqlServer.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RootNamespace>Microsoft.EntityFrameworkCore.Benchmarks</RootNamespace>
66
<OutputType>Exe</OutputType>
77
</PropertyGroup>

benchmark/EFCore.Sqlite.Benchmarks/EFCore.Sqlite.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RootNamespace>Microsoft.EntityFrameworkCore.Benchmarks</RootNamespace>
66
<OutputType>Exe</OutputType>
77
</PropertyGroup>

eng/Versions.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<MicrosoftDotNetBuildTasksTemplatingVersion>8.0.0-beta.23360.1</MicrosoftDotNetBuildTasksTemplatingVersion>
3131
</PropertyGroup>
3232
<PropertyGroup Label="Other dependencies">
33+
<!-- NB: This version affects Visual Studio compatibility. See https://learn.microsoft.com/visualstudio/extensibility/roslyn-version-support -->
3334
<MicrosoftCodeAnalysisVersion>4.5.0</MicrosoftCodeAnalysisVersion>
3435
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.23251.2</MicrosoftCodeAnalysisTestingVersion>
3536
</PropertyGroup>

eng/helix.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
</ItemGroup>
6363

6464
<PropertyGroup>
65-
<XUnitPublishTargetFramework>net7.0</XUnitPublishTargetFramework>
65+
<XUnitPublishTargetFramework>net8.0</XUnitPublishTargetFramework>
6666
<XUnitRuntimeTargetFramework>netcoreapp2.0</XUnitRuntimeTargetFramework>
6767
<XUnitRunnerVersion>2.4.2-pre.9</XUnitRunnerVersion>
6868
<XUnitArguments></XUnitArguments>

global.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,7 @@
55
"rollForward": "latestMajor"
66
},
77
"tools": {
8-
"dotnet": "8.0.100-preview.7.23354.1",
9-
"runtimes": {
10-
"aspnetcore": [
11-
"7.0.3"
12-
],
13-
"dotnet": [
14-
"7.0.3"
15-
]
16-
}
8+
"dotnet": "8.0.100-preview.7.23354.1"
179
},
1810
"msbuild-sdks": {
1911
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23360.1",

src/EFCore.Abstractions/EFCore.Abstractions.csproj

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

33
<PropertyGroup>
44
<Description>Provides abstractions and attributes that are used to configure Entity Framework Core</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.Abstractions</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>

src/EFCore.Cosmos/EFCore.Cosmos.csproj

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

33
<PropertyGroup>
44
<Description>Azure Cosmos provider for Entity Framework Core.</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.Cosmos</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore.Cosmos</RootNamespace>

src/EFCore.Design/Design/Internal/DbContextOperations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ private KeyValuePair<Type, Func<DbContext>> FindContextType(string? name)
437437
}
438438

439439
// Allow selecting types in the default namespace
440-
candidates = candidates.Where(t => t.Key.Namespace == null).ToDictionary(t => t.Key, t => t.Value);
440+
candidates = candidates.Where(t => t.Key.Namespace == null).ToDictionary();
441441
if (candidates.Count == 0)
442442
{
443443
throw new OperationException(DesignStrings.MultipleContextsWithQualifiedName(name));
@@ -460,6 +460,6 @@ private static IDictionary<Type, Func<DbContext>> FilterTypes(
460460
t => string.Equals(t.Key.Name, name, comparisonType)
461461
|| string.Equals(t.Key.FullName, name, comparisonType)
462462
|| string.Equals(t.Key.AssemblyQualifiedName, name, comparisonType))
463-
.ToDictionary(t => t.Key, t => t.Value);
463+
.ToDictionary();
464464
}
465465
}

src/EFCore.Design/Design/OperationException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public OperationException(string message, Exception? innerException)
4242
/// </summary>
4343
/// <param name="info">The serialization info.</param>
4444
/// <param name="context">The streaming context being used.</param>
45+
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
4546
public OperationException(SerializationInfo info, StreamingContext context)
4647
: base(info, context)
4748
{

src/EFCore.Design/EFCore.Design.csproj

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

33
<PropertyGroup>
44
<Description>Shared design-time components for Entity Framework Core tools.</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<AssemblyName>Microsoft.EntityFrameworkCore.Design</AssemblyName>
77
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/EFCore.Design/Scaffolding/Internal/TextTemplatingEngineHost.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ public virtual AppDomain ProvideTemplatingAppDomain(string content)
182182
/// </summary>
183183
public virtual string ResolveAssemblyReference(string assemblyReference)
184184
{
185+
if (Path.IsPathRooted(assemblyReference))
186+
{
187+
return assemblyReference;
188+
}
189+
185190
var path = DependencyContext.Default?.CompileLibraries
186191
.FirstOrDefault(l => l.Assemblies.Any(a => Path.GetFileNameWithoutExtension(a) == assemblyReference))
187192
?.ResolveReferencePaths()

src/EFCore.InMemory/EFCore.InMemory.csproj

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

33
<PropertyGroup>
44
<Description>In-memory database provider for Entity Framework Core (to be used for testing purposes).</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.InMemory</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore.InMemory</RootNamespace>

src/EFCore.Proxies/EFCore.Proxies.csproj

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

33
<PropertyGroup>
44
<Description>Lazy loading proxies for Entity Framework Core.</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.Proxies</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>

src/EFCore.Relational/EFCore.Relational.csproj

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

33
<PropertyGroup>
44
<Description>Shared Entity Framework Core components for relational database providers.</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.Relational</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>

src/EFCore.Relational/Infrastructure/RelationalModelValidator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ private static void ValidateSproc(
362362
var storeGeneratedProperties = storeObjectIdentifier.StoreObjectType switch
363363
{
364364
StoreObjectType.InsertStoredProcedure
365-
=> properties.Where(p => p.Value.ValueGenerated.HasFlag(ValueGenerated.OnAdd)).ToDictionary(p => p.Key, p => p.Value),
365+
=> properties.Where(p => p.Value.ValueGenerated.HasFlag(ValueGenerated.OnAdd)).ToDictionary(),
366366
StoreObjectType.UpdateStoredProcedure
367-
=> properties.Where(p => p.Value.ValueGenerated.HasFlag(ValueGenerated.OnUpdate)).ToDictionary(p => p.Key, p => p.Value),
367+
=> properties.Where(p => p.Value.ValueGenerated.HasFlag(ValueGenerated.OnUpdate)).ToDictionary(),
368368
_ => new Dictionary<string, IProperty>()
369369
};
370370

src/EFCore.SqlServer.HierarchyId/EFCore.SqlServer.HierarchyId.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<MinClientVersion>3.6</MinClientVersion>
66
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer.HierarchyId</AssemblyName>
77
<RootNamespace>Microsoft.EntityFrameworkCore.SqlServer</RootNamespace>

src/EFCore.SqlServer.NTS/EFCore.SqlServer.NTS.csproj

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

33
<PropertyGroup>
44
<Description>NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core.</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore.SqlServer</RootNamespace>

src/EFCore.SqlServer/EFCore.SqlServer.csproj

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

33
<PropertyGroup>
44
<Description>Microsoft SQL Server database provider for Entity Framework Core.</Description>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<MinClientVersion>3.6</MinClientVersion>
77
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
88
<RootNamespace>Microsoft.EntityFrameworkCore.SqlServer</RootNamespace>

src/EFCore.Sqlite.Core/EFCore.Sqlite.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PackageId>Microsoft.EntityFrameworkCore.Sqlite.Core</PackageId>
66
<RootNamespace>Microsoft.EntityFrameworkCore.Sqlite</RootNamespace>
77
<Description>SQLite database provider for Entity Framework Core. This package does not include a copy of the native SQLite library.</Description>
8-
<TargetFramework>net6.0</TargetFramework>
8+
<TargetFramework>net8.0</TargetFramework>
99
<MinClientVersion>3.6</MinClientVersion>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageTags>$(PackageTags);SQLite</PackageTags>

src/EFCore.Sqlite.NTS/EFCore.Sqlite.NTS.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PackageId>Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite</PackageId>
66
<RootNamespace>Microsoft.EntityFrameworkCore.Sqlite</RootNamespace>
77
<Description>NetTopologySuite support for the SQLite database provider for Entity Framework Core.</Description>
8-
<TargetFramework>net6.0</TargetFramework>
8+
<TargetFramework>net8.0</TargetFramework>
99
<MinClientVersion>3.6</MinClientVersion>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageTags>$(PackageTags);SQLite;GIS;NTS;OGC;SpatiaLite</PackageTags>

src/EFCore.Sqlite/EFCore.Sqlite.csproj

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

55
<PropertyGroup>
66
<Description>SQLite database provider for Entity Framework Core.</Description>
7-
<TargetFramework>net6.0</TargetFramework>
7+
<TargetFramework>net8.0</TargetFramework>
88
<MinClientVersion>3.6</MinClientVersion>
99
<PackageId>Microsoft.EntityFrameworkCore.Sqlite</PackageId>
1010
<PackageTags>$(PackageTags);SQLite</PackageTags>
@@ -47,6 +47,7 @@
4747
</ItemGroup>
4848

4949
<ItemGroup>
50+
<!-- TODO: Remove NoWarn NETSDK1206 in Directory.Build.props after updating -->
5051
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.5" />
5152
</ItemGroup>
5253

File renamed without changes.

src/EFCore.Tools/EFCore.Tools.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$CommonMetadataElements$
66
<minClientVersion>3.6</minClientVersion>
77
<dependencies>
8-
<group targetFramework=".NET6.0">
8+
<group targetFramework=".NET8.0">
99
<dependency id="Microsoft.EntityFrameworkCore.Design" version="$version$" />
1010
</group>
1111
</dependencies>
File renamed without changes.

src/EFCore/DbUpdateConcurrencyException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public DbUpdateConcurrencyException(
7474
/// </summary>
7575
/// <param name="info">The serialization info.</param>
7676
/// <param name="context">The streaming context being used.</param>
77+
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
7778
public DbUpdateConcurrencyException(SerializationInfo info, StreamingContext context)
7879
: base(info, context)
7980
{

src/EFCore/DbUpdateException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public DbUpdateException(
104104
/// </summary>
105105
/// <param name="info">The serialization info.</param>
106106
/// <param name="context">The streaming context being used.</param>
107+
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
107108
public DbUpdateException(SerializationInfo info, StreamingContext context)
108109
: base(info, context)
109110
{

src/EFCore/EF.CompileAsyncQuery.tt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
using System;
99
using System.Collections.Generic;
10+
using System.Diagnostics.CodeAnalysis;
1011
using System.Linq;
1112
using System.Linq.Expressions;
1213
using System.Threading;
@@ -25,7 +26,9 @@ namespace Microsoft.EntityFrameworkCore
2526
/// <typeparam name="TResult">The query result type.</typeparam>
2627
/// <param name="queryExpression">The LINQ query expression.</param>
2728
/// <returns>A delegate that can be invoked to execute the compiled query.</returns>
28-
public static Func<TContext, IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext, TResult>(
29+
public static Func<TContext, IAsyncEnumerable<TResult>> CompileAsyncQuery<
30+
TContext,
31+
[DynamicallyAccessedMembers(IEntityType.DynamicallyAccessedMemberTypes)] TResult>(
2932
Expression<Func<TContext, DbSet<TResult>>> queryExpression)
3033
where TContext : DbContext
3134
where TResult : class

src/EFCore/EF.CompileQuery.tt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
// The .NET Foundation licenses this file to you under the MIT license.
66
// <auto-generated />
77

8-
using System;
9-
using System.Collections.Generic;
10-
using System.Linq;
11-
using System.Linq.Expressions;
12-
using Microsoft.EntityFrameworkCore.Query;
138
using Microsoft.EntityFrameworkCore.Query.Internal;
149

1510
namespace Microsoft.EntityFrameworkCore

src/EFCore/EFCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Commonly Used Types:
77
Microsoft.EntityFrameworkCore.DbContext
88
Microsoft.EntityFrameworkCore.DbSet
99
</Description>
10-
<TargetFramework>net6.0</TargetFramework>
10+
<TargetFramework>net8.0</TargetFramework>
1111
<MinClientVersion>3.6</MinClientVersion>
1212
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
1313
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>

src/EFCore/Storage/RetryLimitExceededException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public RetryLimitExceededException(string message, Exception innerException)
4646
/// </summary>
4747
/// <param name="info">The serialization info.</param>
4848
/// <param name="context">The streaming context being used.</param>
49+
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
4950
public RetryLimitExceededException(SerializationInfo info, StreamingContext context)
5051
: base(info, context)
5152
{

src/dotnet-ef/dotnet-ef.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dotnet ef dbcontext scaffold
1212
dotnet ef database drop
1313
dotnet ef database update
1414
</Description>
15-
<TargetFramework>net6.0</TargetFramework>
15+
<TargetFramework>net8.0</TargetFramework>
1616
<OutputType>Exe</OutputType>
1717
<PackAsTool>true</PackAsTool>
1818
<PackAsToolShimRuntimeIdentifiers>win-x64;win-x86;win-arm64</PackAsToolShimRuntimeIdentifiers>

test/EFCore.Analyzers.Tests/EFCore.Analyzers.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Microsoft.EntityFrameworkCore.Analyzers.Tests</AssemblyName>
66
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>
77
<PreserveCompilationContext>true</PreserveCompilationContext>

test/EFCore.AspNet.InMemory.FunctionalTests/EFCore.AspNet.InMemory.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Microsoft.EntityFrameworkCore.AspNet.InMemory.FunctionalTests</AssemblyName>
66
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>
77
<ImplicitUsings>true</ImplicitUsings>

test/EFCore.AspNet.Specification.Tests/EFCore.AspNet.Specification.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>Shared ASP.NET test suite for Entity Framework Core database providers.</Description>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<AssemblyName>Microsoft.EntityFrameworkCore.AspNet.Specification.Tests</AssemblyName>
77
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -48,7 +48,7 @@
4848
<ProjectReference Include="..\..\src\EFCore.Relational\EFCore.Relational.csproj" />
4949
<ProjectReference Include="..\..\src\EFCore.Design\EFCore.Design.csproj" />
5050
<ProjectReference Include="..\EFCore.Specification.Tests\EFCore.Specification.Tests.csproj" />
51-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.5" />
51+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.7" />
5252
<PackageReference Include="IdentityServer4.EntityFramework" Version="4.1.2" />
5353
<PackageReference Include="Grpc.AspNetCore" Version="2.45.0" />
5454
</ItemGroup>

test/EFCore.AspNet.SqlServer.FunctionalTests/EFCore.AspNet.SqlServer.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Microsoft.EntityFrameworkCore.AspNet.SqlServer.FunctionalTests</AssemblyName>
66
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>
77
<SkipTests Condition="'$(OS)' != 'Windows_NT' AND '$(Test__SqlServer__DefaultConnection)' == ''">True</SkipTests>

0 commit comments

Comments
 (0)