diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets index 97a4a808b5ab..ca8b19b7b353 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.CrossGen.targets @@ -18,6 +18,7 @@ Copyright (c) .NET Foundation. All rights reserved. --> true + true false true false diff --git a/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishASingleFileApp.cs b/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishASingleFileApp.cs index 1a4cba45d101..0b736759eba8 100644 --- a/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishASingleFileApp.cs +++ b/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishASingleFileApp.cs @@ -32,7 +32,8 @@ public class GivenThatWeWantToPublishASingleFileApp : SdkTest private const string ExcludeAlways = "/p:ExcludeAlways=true"; private const string DontUseAppHost = "/p:UseAppHost=false"; private const string ReadyToRun = "/p:PublishReadyToRun=true"; - private const string ReadyToRunComposite = "/p:PublishReadyToRunComposite=true"; + private const string ReadyToRunCompositeOn = "/p:PublishReadyToRunComposite=true"; + private const string ReadyToRunCompositeOff = "/p:PublishReadyToRunComposite=false"; private const string ReadyToRunWithSymbols = "/p:PublishReadyToRunEmitSymbols=true"; private const string UseAppHost = "/p:UseAppHost=true"; private const string IncludeDefault = "/p:IncludeSymbolsInSingleFile=false"; @@ -314,7 +315,7 @@ public void It_supports_composite_r2r(bool extractAll) var testAsset = _testAssetsManager.CreateTestProject(testProject); var publishCommand = new PublishCommand(testAsset); - var extraArgs = new List() { PublishSingleFile, ReadyToRun, ReadyToRunComposite, RuntimeIdentifier }; + var extraArgs = new List() { PublishSingleFile, ReadyToRun, ReadyToRunCompositeOn, RuntimeIdentifier }; if (extractAll) { @@ -434,7 +435,7 @@ public void It_excludes_ni_pdbs_from_single_file() var publishCommand = GetPublishCommand(); publishCommand - .Execute(PublishSingleFile, RuntimeIdentifier, IncludeAllContent, ReadyToRun, ReadyToRunWithSymbols) + .Execute(PublishSingleFile, RuntimeIdentifier, IncludeAllContent, ReadyToRun, ReadyToRunWithSymbols, ReadyToRunCompositeOff) .Should() .Pass(); @@ -505,7 +506,7 @@ public void It_generates_a_single_file_for_R2R_compiled_Apps() { var publishCommand = GetPublishCommand(); publishCommand - .Execute(PublishSingleFile, RuntimeIdentifier, IncludeAllContent, ReadyToRun) + .Execute(PublishSingleFile, RuntimeIdentifier, IncludeAllContent, ReadyToRun, ReadyToRunCompositeOff) .Should() .Pass();