Microsoft.EntityFrameworkCore.Tasks 10.0.0-preview.4.25255.103

Prefix Reserved
This is a prerelease version of Microsoft.EntityFrameworkCore.Tasks.
dotnet add package Microsoft.EntityFrameworkCore.Tasks --version 10.0.0-preview.4.25255.103
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tasks -Version 10.0.0-preview.4.25255.103
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.EntityFrameworkCore.Tasks" Version="10.0.0-preview.4.25255.103">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tasks" Version="10.0.0-preview.4.25255.103" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore.Tasks">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.EntityFrameworkCore.Tasks --version 10.0.0-preview.4.25255.103
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tasks, 10.0.0-preview.4.25255.103"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.EntityFrameworkCore.Tasks&version=10.0.0-preview.4.25255.103&prerelease
                    
Install Microsoft.EntityFrameworkCore.Tasks as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tasks&version=10.0.0-preview.4.25255.103&prerelease
                    
Install Microsoft.EntityFrameworkCore.Tasks as a Cake Tool

The Entity Framework Core MSBuild tasks integrate EF design-time tools into the build process. They're primarily used to generate the compiled model.

This package should be referenced by the project containing the derived DbContext.

Usage

Install the package into your project, set <EFOptimizeContext Condition="'$(Configuration)'=='Release'">true</EFOptimizeContext> and then run build normally.

If the startup project is different from the current project it needs to be specified: <EFStartupProject>..\Startup\Startup.csproj</EFStartupProject>

The startup project must also reference the Microsoft.EntityFrameworkCore.Tasks package.

Getting started with EF Core

See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.

Feedback

If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.Tasks:

Repository Stars
GZTimeWalker/GZCTF
The GZ::CTF project, an open source CTF platform.
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
VladislavAntonyuk/MauiSamples
.NET MAUI Samples
Version Downloads Last updated
10.0.0-preview.4.25255.103 0 5/12/2025