Description
The .NET SDK template engine NuGet packages no longer target netstandard2.0. The affected packages are:
Microsoft.TemplateEngine.Abstractions
Microsoft.TemplateEngine.Core
Microsoft.TemplateEngine.Core.Contracts
Microsoft.TemplateEngine.Edge
Microsoft.TemplateEngine.Orchestrator.RunnableProjects
Microsoft.TemplateEngine.Utils
Microsoft.TemplateEngine.IDE
Microsoft.TemplateLocalizer.Core
PR: dotnet/sdk#54041
Version
.NET 11 Preview 4
Previous behavior
These packages included a netstandard2.0 target, allowing them to be consumed by projects targeting .NET Standard 2.0 (including .NET Framework 4.6.1+ and .NET Core 2.0+).
New behavior
These packages now only target net9.0, net11.0, and net472. Projects that previously consumed these packages via the netstandard2.0 target and do not target one of the remaining frameworks will no longer be able to use them.
Type of breaking change
Reason for change
NuGet dropped netstandard support starting with version 7.0. Microsoft.TemplateEngine.Edge depends on NuGet packages (NuGet.Configuration, NuGet.Credentials, NuGet.Protocol), which made it increasingly difficult to maintain netstandard2.0 compatibility — the project had to pin these packages to older versions and disable CentralPackageTransitivePinningEnabled to prevent transitive dependency conflicts.
Recommended action
Update consuming projects to target net9.0 or later, or net472 (or later .NET Framework). If you were relying on the netstandard2.0 target to consume these packages from a .NET Standard class library, retarget that library to one of the supported frameworks.
Feature area
SDK
Affected APIs
All public APIs in the listed packages remain the same; only the supported target frameworks have changed.
Description
The .NET SDK template engine NuGet packages no longer target
netstandard2.0. The affected packages are:Microsoft.TemplateEngine.AbstractionsMicrosoft.TemplateEngine.CoreMicrosoft.TemplateEngine.Core.ContractsMicrosoft.TemplateEngine.EdgeMicrosoft.TemplateEngine.Orchestrator.RunnableProjectsMicrosoft.TemplateEngine.UtilsMicrosoft.TemplateEngine.IDEMicrosoft.TemplateLocalizer.CorePR: dotnet/sdk#54041
Version
.NET 11 Preview 4
Previous behavior
These packages included a
netstandard2.0target, allowing them to be consumed by projects targeting .NET Standard 2.0 (including .NET Framework 4.6.1+ and .NET Core 2.0+).New behavior
These packages now only target
net9.0,net11.0, andnet472. Projects that previously consumed these packages via thenetstandard2.0target and do not target one of the remaining frameworks will no longer be able to use them.Type of breaking change
Reason for change
NuGet dropped netstandard support starting with version 7.0.
Microsoft.TemplateEngine.Edgedepends on NuGet packages (NuGet.Configuration,NuGet.Credentials,NuGet.Protocol), which made it increasingly difficult to maintain netstandard2.0 compatibility — the project had to pin these packages to older versions and disableCentralPackageTransitivePinningEnabledto prevent transitive dependency conflicts.Recommended action
Update consuming projects to target
net9.0or later, ornet472(or later .NET Framework). If you were relying on thenetstandard2.0target to consume these packages from a .NET Standard class library, retarget that library to one of the supported frameworks.Feature area
SDK
Affected APIs
All public APIs in the listed packages remain the same; only the supported target frameworks have changed.