@@ -11,7 +11,7 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
1111 [ Collection ( TestConstants . UsesStaticTelemetryState ) ]
1212 public class GivenDotnetBuildInvocation : IClassFixture < NullCurrentSessionIdFixture >
1313 {
14- string [ ] ExpectedPrefix = [ "-maxcpucount" , "--verbosity:m " , "-tlp:default=auto" , "--nologo" ] ;
14+ string [ ] ExpectedPrefix = [ "-maxcpucount" , "--verbosity:minimal " , "-tlp:default=auto" , "--nologo" ] ;
1515 public static string [ ] RestoreExpectedPrefixForImplicitRestore = [ .. RestoringCommand . RestoreOptimizationProperties . Select ( kvp => $ "--restoreProperty:{ kvp . Key } ={ kvp . Value } ") ] ;
1616 public static string [ ] RestoreExpectedPrefixForSeparateRestore = [ .. RestoringCommand . RestoreOptimizationProperties . Select ( kvp => $ "--property:{ kvp . Key } ={ kvp . Value } ") ] ;
1717
@@ -37,10 +37,10 @@ public class GivenDotnetBuildInvocation : IClassFixture<NullCurrentSessionIdFixt
3737 [ InlineData ( new string [ ] { "--configuration" , "config" } , new string [ ] { "--property:Configuration=config" } ) ]
3838 [ InlineData ( new string [ ] { "--version-suffix" , "mysuffix" } , new string [ ] { "--property:VersionSuffix=mysuffix" } ) ]
3939 [ InlineData ( new string [ ] { "--no-dependencies" } , new string [ ] { "--property:BuildProjectReferences=false" } ) ]
40- [ InlineData ( new string [ ] { "-v" , "diag" } , new string [ ] { "--verbosity:diag " } ) ]
41- [ InlineData ( new string [ ] { "--verbosity" , "diag" } , new string [ ] { "--verbosity:diag " } ) ]
40+ [ InlineData ( new string [ ] { "-v" , "diag" } , new string [ ] { "--verbosity:diagnostic " } ) ]
41+ [ InlineData ( new string [ ] { "--verbosity" , "diag" } , new string [ ] { "--verbosity:diagnostic " } ) ]
4242 [ InlineData ( new string [ ] { "--no-incremental" , "-o" , "myoutput" , "-r" , "myruntime" , "-v" , "diag" , "/ArbitrarySwitchForMSBuild" } ,
43- new string [ ] { "--target:Rebuild" , "--property:RuntimeIdentifier=myruntime" , "--property:_CommandLineDefinedRuntimeIdentifier=true" , "--verbosity:diag " , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ) ]
43+ new string [ ] { "--target:Rebuild" , "--property:RuntimeIdentifier=myruntime" , "--property:_CommandLineDefinedRuntimeIdentifier=true" , "--verbosity:diagnostic " , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ) ]
4444 [ InlineData ( new string [ ] { "/t:CustomTarget" } , new string [ ] { "--target:CustomTarget" } ) ]
4545 [ InlineData ( new string [ ] { "--disable-build-servers" } , new string [ ] { "--property:UseRazorBuildServer=false" , "--property:UseSharedCompilation=false" , "/nodeReuse:false" } ) ]
4646 public void MsbuildInvocationIsCorrect ( string [ ] args , string [ ] expectedAdditionalArgs )
@@ -89,8 +89,8 @@ public void NoRestoreMeansNoSeparateRestoreCommand()
8989 new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" } ,
9090 new string [ ] { "--property:TargetFramework=tfm" , "--target:Run" } ) ]
9191 [ InlineData ( new string [ ] { "-o" , "myoutput" , "-f" , "tfm" , "-v" , "diag" , "/ArbitrarySwitchForMSBuild" } ,
92- new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" , "--verbosity:diag " , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ,
93- new string [ ] { "--property:TargetFramework=tfm" , "--verbosity:diag " , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ) ]
92+ new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" , "--verbosity:diagnostic " , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ,
93+ new string [ ] { "--property:TargetFramework=tfm" , "--verbosity:diagnostic " , "--property:OutputPath=<cwd>myoutput" , "--property:_CommandLineDefinedOutputPath=true" , "/ArbitrarySwitchForMSBuild" } ) ]
9494 [ InlineData ( new string [ ] { "-f" , "tfm" , "-getItem:Compile" , "-getProperty:TargetFramework" , "-getTargetResult:Build" } ,
9595 new string [ ] { "--target:Restore" , "-tlp:verbosity=quiet" , "--nologo" , "--verbosity:quiet" } ,
9696 new string [ ] { "--property:TargetFramework=tfm" , "--getItem:Compile" , "--getProperty:TargetFramework" , "--getTargetResult:Build" } ) ]
0 commit comments