Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Implement dotnet publish --no-build #8996

Merged
merged 3 commits into from
Apr 6, 2018

Conversation

nguerrera
Copy link
Contributor

Fix #5331

@nguerrera nguerrera requested review from livarcocc and a team April 4, 2018 22:04
new NewCommandShim()
.WithWorkingDirectory(rootPath)
.Execute(newArgs)
.Should().Pass();

This comment was marked as spam.

This comment was marked as spam.

@@ -72,6 +72,23 @@ public void MsbuildInvocationIsCorrectForSeparateRestore(string[] args, string e
.Be($"{ExpectedPrefix} -nologo -target:Publish{expectedAdditionalArgs}");
}

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -141,4 +141,7 @@
<data name="SelfContainedOptionDescription" xml:space="preserve">
<value>Publish the .NET Core runtime with your application so the runtime doesn't need to be installed on the target machine. Defaults to 'true' if a runtime identifier is specified.</value>
</data>
<data name="NoBuildOptionDescription" xml:space="preserve">
<value>Do not build project before publishing. Implies --no-restore.</value>

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@livarcocc livarcocc added this to the 2.1.3xx milestone Apr 5, 2018
@nguerrera
Copy link
Contributor Author

Daniel reviewed the last two commits over my shoulder. This is good to merge when green. I will do so from home if nobody beats me to it.

@nguerrera nguerrera merged commit 4956bfe into dotnet:master Apr 6, 2018
@nguerrera nguerrera deleted the publish-no-build branch September 26, 2018 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants