-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat TargetFramework(s) values as aliases #5154
Comments
Yes, see this guideline I just wrote: https://github.com/dotnet/project-system/blob/master/docs/repo/coding-conventions.md#data |
RE: dotnet/project-system#615 |
@rrelyea we should discuss this and tackle it for .NET 5.0. |
NuGet should treat the values from
TargetFramework
andTargetFrameworks
as aliases.When setting the property
TargetFramework=(alias)
the actual target framework value can be evaluated fromTargetFrameworkIdentifier
andTargetFrameworkVersion
.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.0
twice.)The text was updated successfully, but these errors were encountered: