-
Notifications
You must be signed in to change notification settings - Fork 5.1k
delete tfm constants #79219
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
delete tfm constants #79219
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue Details@ViktorHofer i found some unused constants. i think it's easier to follow with strings for the rest
|
var deploymentParameters = new DeploymentParameters( | ||
applicationPath, | ||
RuntimeFlavor.CoreClr, | ||
RuntimeArchitecture.x64) | ||
{ | ||
TargetFramework = Tfm.NetCoreApp50, | ||
TargetFramework = $"Environment{version.Major}.{version.Minor}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kasperk81 Shouldn't this read $"net{version.Major}.{version.Minor}"
(or null
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooops, #79230. thanks for catching it
@ViktorHofer i found some unused constants. i think it's easier to follow with strings for the rest