-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Conversation
28ba9bf
to
f01d954
Compare
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.
I looked at a smattering of the ~1000 files. I assume you did this programmatically and that all of the files got similar treatment? If so, LGTM.
Good to see you're using the new function dotnet/msbuild#1277 |
Unfortunately that function has a bug which makes it not very useful: dotnet/msbuild#2456 (comment) |
Yes I did regex replaces and checked most of it manually |
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.
I spot checked. I'd recommend cleaning up DefaultTargets in the same change to avoid churning more than once. Thanks for doing this!
eng/Packaging.props
Outdated
@@ -1,4 +1,4 @@ | |||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<Project DefaultTargets="Build"> |
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.
You can remove DefaultTargets="Build", especially from props/targets files.
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.
I removed that attribute from all props and targets file.
Directory.Build.targets
Outdated
@@ -1,5 +1,5 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
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.
I think we can also delete the entries, right @ericstj ?
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.
Good point. MSBuild doesn't require this anymore. I guess it depends on wether or not all our tools which try to edit these are happy without the prolog. Seems like we'd be ok removing it and see what breaks and add it back. The only things that might break are maestro-like tools I think, or any crusty dev tools that are accessing projects without using MSBuild.
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.
Good to know, I wasn't sure if we still need them. Let's see.
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!
f01d954
to
73fdcf2
Compare
@@ -1,5 +1,4 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
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.
I'm not sure if for .resx files it was still needed. @ericstj do you know?
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.
Not off hand. Test VS resx designer (for editing) and build (for reading in our code generator and compilation in resgen).
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Commit migrated from dotnet/corefx@c390ce7
* Remove license header from non-shipping files * Remove obsolete Project attributes * Remove xml header and remove DefaultTargets Commit migrated from dotnet/corefx@c390ce7
Those attributes aren't needed anymore with the portable msbuild + our min version of msbuild desktop 15. Also removed the license headers that I added but which aren't needed as the marked files aren't shipping artifacts.
cc @ericstj @safern