Skip to content

Make AppendRuntimeIdentifierToPath=true the default #873

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

Merged
merged 1 commit into from
Feb 17, 2017

Conversation

nguerrera
Copy link
Contributor

@@ -32,8 +32,6 @@ public void It_builds_a_runnable_output()
var ns = project.Root.Name.Namespace;
var propertyGroup = project.Root.Elements(ns + "PropertyGroup").First();
propertyGroup.Add(new XElement(ns + "RuntimeIdentifier", runtimeIdentifier));

propertyGroup.Add(new XElement(ns + "AppendRuntimeIdentifierToOutputPath", "true"));
Copy link
Member

Choose a reason for hiding this comment

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

Should we maybe set this to "false" to test out that the RID doesn't get appended to the output path?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Coverage for on and off went in with #847

@srivatsn
Copy link
Contributor

@MattGertz for approval.

@srivatsn
Copy link
Contributor

Just noticed there's no template. Hold on.

@srivatsn
Copy link
Contributor

Customer scenario

Builds that build with multiple rids can stomp their output on each other because the outputpath is not RID specific.

Bugs this fixes:

#868

Workarounds, if any
Set AppendRuntimeIdentifierToPath=true manually in the project.

Risk

Medium - since we are changing output paths.

Performance impact

Low - we are just choosing a different output path.

Is this a regression from a previous update?

No.

Root cause analysis:

Originally we tried making RIDs a publsh-only concept but that didn`t work out. This is a holdover from that time.

How was the bug found?

Internal testing of other RID changes.

@MattGertz
Copy link

Yep, I mentioned this one to JoC earlier, let's take it to Shiproom.

@nguerrera
Copy link
Contributor Author

@dotnet-bot test this please (myget should be back up now)

@srivatsn
Copy link
Contributor

VS Mac and ASP NET folks signed off on this change. Merging.

@srivatsn srivatsn merged commit febad84 into dotnet:master Feb 17, 2017
@natidea
Copy link
Contributor

natidea commented Feb 17, 2017

We will bring a new insertion PR to shiproom today for approval to get this one.

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

Successfully merging this pull request may close these issues.

8 participants