@@ -112,23 +112,19 @@ Override targets which don't work with project files that are not present on dis
112112
113113 public VirtualProjectBuildingCommand (
114114 string entryPointFileFullPath ,
115- IReadOnlyList < string > msbuildArgs ,
116- VerbosityOptions ? verbosity ,
117- bool interactive )
115+ string [ ] msbuildArgs )
118116 {
119117 Debug . Assert ( Path . IsPathFullyQualified ( entryPointFileFullPath ) ) ;
120118
121119 EntryPointFileFullPath = entryPointFileFullPath ;
122120 GlobalProperties = new ( StringComparer . OrdinalIgnoreCase ) ;
123121 CommonRunHelpers . AddUserPassedProperties ( GlobalProperties , msbuildArgs ) ;
124- BinaryLoggerArgs = msbuildArgs ;
125- Verbosity = verbosity ?? RunCommand . GetDefaultVerbosity ( interactive : interactive ) ;
122+ LoggerArgs = msbuildArgs ;
126123 }
127124
128125 public string EntryPointFileFullPath { get ; }
129126 public Dictionary < string , string > GlobalProperties { get ; }
130- public IReadOnlyList < string > BinaryLoggerArgs { get ; }
131- public VerbosityOptions Verbosity { get ; }
127+ public string [ ] LoggerArgs { get ; }
132128 public string ? CustomArtifactsPath { get ; init ; }
133129 public bool NoRestore { get ; init ; }
134130 public bool NoCache { get ; init ; }
@@ -138,8 +134,8 @@ public VirtualProjectBuildingCommand(
138134 public override int Execute ( )
139135 {
140136 Debug . Assert ( ! ( NoRestore && NoBuild ) ) ;
141- var consoleLogger = RunCommand . MakeTerminalLogger ( Verbosity ) ;
142- var binaryLogger = GetBinaryLogger ( BinaryLoggerArgs ) ;
137+ var consoleLogger = TerminalLogger . CreateTerminalOrConsoleLogger ( LoggerArgs ) ;
138+ var binaryLogger = GetBinaryLogger ( LoggerArgs ) ;
143139
144140 RunFileBuildCacheEntry ? cacheEntry = null ;
145141
0 commit comments