-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Mono] MSBuild Task housekeeping #54485
Changes from 1 commit
66890ea
cb5bdfe
6fddc09
0dc92c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
|
||
<PropertyGroup> | ||
<TargetFrameworkForNETFramework>net472</TargetFrameworkForNETFramework> | ||
<TargetFrameworkForNetCore>net6.0</TargetFrameworkForNetCore> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In general, what criteria will push us to update this value? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any new features we may need. We may not need to bump all that often. |
||
</PropertyGroup> | ||
</Project> |
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.
Is this intended just for tasks? If so, then we should name it accordingly. It's not clear from the name, what it is for, or when to use it.
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.
Perhaps, but it looks quite consistent in other places, e.g. in MonoAOTCompiler task
<TargetFrameworks>$(TargetFrameworkForNetCore);$(TargetFrameworkForNETFramework)</TargetFrameworks>
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.
It seems like the property is intended just to be used in
src/tasks
. Not sure ifTargetFrameworkForNETFramework
is also intended to be just used insrc/tasks
as well, but if it is perhaps we can rename them both to be something likeTargetFrameworkForNETCoreTasks
andTargetFrameworkForNETFrameworkTasks
?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.
@radical if it is intended for just the tasks, do you think the above would be proper, or did you have something else in mind?
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.
Sounds good.
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.
A quick search showed that the
TargetFrameworkForNETFramework
property is used withinsrc\task
only so I've made the following change:TargetFrameworkForNETFramework
->TargetFrameworkForNETFrameworkTasks
TargetFrameworkForNetCore
->TargetFrameworkForNETCoreTasks