-
Notifications
You must be signed in to change notification settings - Fork 271
Treat TargetFramework(s) values as aliases #5154
Copy link
Copy link
Closed
13 / 1313 of 13 issues completedLabels
Functionality:PackFunctionality:RestorePartner:CLI-SDKPartner:MSBuildPartner:Project-SystemPriority:2Issues for the current backlog.Issues for the current backlog.Type:DCRDesign Change RequestDesign Change Request
Milestone
Metadata
Metadata
Assignees
Labels
Functionality:PackFunctionality:RestorePartner:CLI-SDKPartner:MSBuildPartner:Project-SystemPriority:2Issues for the current backlog.Issues for the current backlog.Type:DCRDesign Change RequestDesign Change Request
Type
Fields
Give feedbackNo fields configured for issues without a type.
NuGet should treat the values from
TargetFrameworkandTargetFrameworksas aliases.When setting the property
TargetFramework=(alias)the actual target framework value can be evaluated fromTargetFrameworkIdentifierandTargetFrameworkVersion.See for examples and more details: dotnet/project-system#1938
Update by @nkolev92
NuGet in 5.8 and .NET 5.0 SDK now treats TargetFramework as an alias, however duplicate framework entries are not supported yet (ex. You can't target
.NETCoreApp,Version=3.0twice.)