Skip to content

Commit 666eb37

Browse files
authored
Updates
1 parent 6cd90c4 commit 666eb37

File tree

1 file changed

+13
-13
lines changed
  • aspnetcore/blazor/tutorials/movie-database-app

1 file changed

+13
-13
lines changed

aspnetcore/blazor/tutorials/movie-database-app/part-2.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -145,25 +145,25 @@ dotnet add package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
145145
>
146146
> Adopt ***either*** of the following approaches:
147147
>
148-
> * Use a .NET SDK for .NET 10 or later. .NET 10 is currently in preview and is secheduled for release in November, 2025.
148+
> * Use a .NET SDK for [.NET 10](https://dotnet.microsoft.com/download/dotnet/10.0) or later. .NET 10 is currently in preview and is secheduled for release in November, 2025. If you obtain and use the .NET 10 SDK for this tutorial, you can leave the app targeting .NET 9.
149149
>
150150
> * Add a package reference to the app for the [`Microsoft.EntityFrameworkCore.Design`](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Design) NuGet package:
151151
>
152-
> ```dotnetcli
153-
> dotnet add package Microsoft.EntityFrameworkCore.Design
154-
> ```
152+
> ```dotnetcli
153+
> dotnet add package Microsoft.EntityFrameworkCore.Design
154+
> ```
155155
>
156-
> Open the app's project file (`BlazorWebAppMovies.csproj`). Mark the `Microsoft.EntityFrameworkCore.Design` assembly reference as publishable by adding `<Publish>true</Publish>` to the package reference. In the following example, the `{VERSION}` placeholder is the package's version and remains unchanged:
156+
> Open the app's project file (`BlazorWebAppMovies.csproj`). Mark the `Microsoft.EntityFrameworkCore.Design` assembly reference as publishable by adding `<Publish>true</Publish>` to the package reference. In the following example, the `{VERSION}` placeholder is the package's version and remains unchanged:
157157
>
158-
> ```diff
159-
> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="{VERSION}">
160-
> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
161-
> <PrivateAssets>all</PrivateAssets>
162-
> + <Publish>true</Publish>
163-
> </PackageReference>
164-
> ```
158+
> ```diff
159+
> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="{VERSION}">
160+
> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
161+
> <PrivateAssets>all</PrivateAssets>
162+
> + <Publish>true</Publish>
163+
> </PackageReference>
164+
> ```
165165
>
166-
> The preceding update to the package reference is a workaround for a breaking change in .NET 9 EF Core tooling. The change to the package reference can be reverted in apps that are eventually updated to .NET 10 or later. For more information, see [Breaking changes in EF Core 9 (EF9)](/ef/core/what-is-new/ef-core-9.0/breaking-changes#microsoftentityframeworkcoredesign-not-found-when-using-ef-tools).
166+
> The preceding update to the package reference is a workaround for a breaking change in .NET 9 EF Core tooling. The change to the package reference can be reverted in apps that are eventually updated to .NET 10 or later. For more information, see [Breaking changes in EF Core 9 (EF9)](/ef/core/what-is-new/ef-core-9.0/breaking-changes#microsoftentityframeworkcoredesign-not-found-when-using-ef-tools).
167167
168168
:::moniker-end
169169

0 commit comments

Comments
 (0)