Fix PR review feedback.

Amending string resources based on suggestions.
Fixing tests that need DOTNET_ROOT set.
Adding args to the asset instance name for `PublishApp`.
This commit is contained in:
Peter Huene 2018-06-11 21:31:48 -07:00
parent bc96902c61
commit da2b1b90ec
No known key found for this signature in database
GPG key ID: E1D265D820213D6A
15 changed files with 63 additions and 59 deletions

View file

@ -138,7 +138,7 @@
<data name="ModeOptionDescription" xml:space="preserve">
<value>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</value>
@ -160,7 +160,7 @@ The default is to publish a framework-dependent application without an executabl
<value>The configuration to publish for. The default for most projects is 'Debug'.</value>
</data>
<data name="PublishModeAndSelfContainedOptionsConflict" xml:space="preserve">
<value>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</value>
<value>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</value>
</data>
<data name="UnsupportedPublishMode" xml:space="preserve">
<value>The specified publish mode '{0}' is not supported.</value>

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -57,13 +57,13 @@ The default is to publish a framework-dependent application without an executabl
<trans-unit id="ModeOptionDescription">
<source>The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</source>
<target state="new">The mode to use when publishing the application.
The 'self-contained' mode publishes the application with the .NET Core runtime.
The 'fx-dependent' mode publishes the application as framework-dependent with an executable if a target runtime is specified.
The 'fx-dependent' mode publishes the application as framework-dependent. If a target runtime is specified, it is published with an executable.
The 'fx-dependent-no-exe' mode publishes the application as framework-dependent without an executable.
The default is 'fx-dependent-no-exe' when a target runtime is not specified.
The default is 'self-contained' when a target runtime is specified.</target>
@ -75,8 +75,8 @@ The default is 'self-contained' when a target runtime is specified.</target>
<note />
</trans-unit>
<trans-unit id="PublishModeAndSelfContainedOptionsConflict">
<source>The '--mode' and '--self-contained' options conflict. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options conflict. Specify only one of the options.</target>
<source>The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</source>
<target state="new">The '--mode' and '--self-contained' options cannot be used together. Specify only one of the options.</target>
<note />
</trans-unit>
<trans-unit id="UnsupportedPublishMode">

View file

@ -134,10 +134,14 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
var outputProgram = Path.Combine(outputDirectory.FullName, $"{testAppName}{Constants.ExeSuffix}");
new TestCommand(outputProgram)
.ExecuteWithCapturedOutput()
.Should().Pass()
.And.HaveStdOutContaining("Hello World");
var command = new TestCommand(outputProgram);
command.Environment["DOTNET_ROOT"]= new RepoDirectoriesProvider().DotnetRoot;
command.ExecuteWithCapturedOutput()
.Should()
.Pass()
.And
.HaveStdOutContaining("Hello World");
}
[Fact]
@ -186,7 +190,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
private DirectoryInfo PublishApp(string testAppName, string rid, string mode, string args = null)
{
var testInstance = TestAssets.Get(testAppName)
.CreateInstance($"PublishApp_{rid ?? "none"}_{mode ?? "none"}")
.CreateInstance($"PublishApp_{rid ?? "none"}_{mode ?? "none"}_{args ?? "none"}")
.WithSourceFiles()
.WithRestoreFiles();