Skip to content
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

Rename cross-targeting to multi-targeting #1471

Closed
wants to merge 1 commit into from

Conversation

mhutch
Copy link
Member

@mhutch mhutch commented Dec 13, 2016

-->
<PropertyGroup Condition="'$(TargetFrameworks)' != '' and '$(TargetFramework)' == ''">
<IsCrossTargetingBuild>true</IsCrossTargetingBuild>
<IsMultiTargetingBuild>true</IsMultiTargetingBuild>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to set both as compat shim as discussed in email,

Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add the new/renamed files to build\NuGetPackages\Microsoft.Build.Runtime.nuspec please?

@@ -20,7 +20,7 @@
namespace Microsoft.Build.CommandLine
{
/// <summary>
/// This is the Out-Of-Proc Task Host for supporting Cross-Targeting tasks.
/// This is the Out-Of-Proc Task Host for supporting Multi-Targeting tasks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one actually means cross-compiling, please revert.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops. guess that's another point in favor of this change.

@@ -10,15 +10,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->

<!-- These targets are deprecated, forward to new targets -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended as a temporary measure so we can update the SDK gradually? Since we haven't shipped an official release with these targets I hope it'd be ok to just rename them atomically.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@nguerrera
Copy link
Contributor

@rainersigwald @dsplaisted I'm actually now wondering if we should rip the cross-targeting stuff out of msbuild. Now that the SDK has more control over imports than after common props & targets, it could handle all of it by itself without a built-in feature in msbuild.

@nguerrera
Copy link
Contributor

(The non x-targeting -> x-targeting P2P resolution would need to remain in msbuild, though).

@rainersigwald
Copy link
Member

@nguerrera I'm in favor.

@mhutch mhutch force-pushed the rename-cross-targeting branch 2 times, most recently from cdb887c to 36ca8f2 Compare December 13, 2016 18:22
@mhutch
Copy link
Member Author

mhutch commented Dec 13, 2016

I think I addressed all the feedback.

file source=$(X86BinPath)Microsoft.CSharp.CrossTargeting.targets
file source=$(X86BinPath)Microsoft.CSharp.targets
file source=$(X86BinPath)Microsoft.NetFramework.CurrentVersion.props
file source=$(X86BinPath)Microsoft.NetFramework.CurrentVersion.targets
file source=$(X86BinPath)Microsoft.NetFramework.props
file source=$(X86BinPath)Microsoft.NetFramework.targets
file source=$(X86BinPath)Microsoft.VisualBasic.CurrentVersion.targets
file source=$(X86BinPath)Microsoft.VisualBasic.MultiTargeting.targets
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes needs to go in the amd64 folder as well (further down in the file). Use the same file source, just needs to be dropped to amd64.

@mhutch mhutch force-pushed the rename-cross-targeting branch from 36ca8f2 to 1a514bc Compare January 10, 2017 19:34
@mhutch
Copy link
Member Author

mhutch commented Jan 10, 2017

OK, i think I addressed all remaining feedback.

@AndyGerlicher
Copy link
Contributor

Sorry to not be able to take this, at this point I think we have to close. This wouldn't meet the bar for this release, and I don't think it's worth changing at this point. If you think this is still worth discussing for Update 1 time-frame please re-open and we can discuss. Thanks!

@mhutch
Copy link
Member Author

mhutch commented Feb 6, 2017

@AndyGerlicher since this is still tracking for dotnet/sdk#486 and the NuGet side was merged already, i think it makes sense to reopen, however I don't have permissions to do so

@rainersigwald
Copy link
Member

We didn't get this past the bar for RTW and now it would be a breaking change from RTW. I think we're stuck with the "cross" name.

@mhutch
Copy link
Member Author

mhutch commented Mar 8, 2017

But the PR supported back-compat 😞

@dsplaisted
Copy link
Member

@rainersigwald if it's not a breaking change can we consider taking this?

@mhutch
Copy link
Member Author

mhutch commented Jun 28, 2017

Bump!

Multi-targeting has become the generally accepted term for this feature and it's odd that the targets use a different terminology in a fairly visible way.

@kzu
Copy link
Contributor

kzu commented Aug 24, 2017

Is this in already? This renaming has already happened on NuGet as well as asp.net (see NuGet/Home#4098)

@AndyGerlicher
Copy link
Contributor

We didn't have any plan for this. Last I heard this was discussed internally and decided against back when it was closed. I followed the issue you linked (and all the items that mention that), but I couldn't find anything that referred to something that was merged (as opposed to just closed). You're sure this already happened?

@akoeplinger
Copy link
Member

@AndyGerlicher NuGet/NuGet.Client@efae789 mentions Renamed buildCrossTargeting to buildMultiTargeting in the commit message and does the renaming in sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants