@@ -298,20 +298,20 @@ void processConfigCallback(Process process)
298
298
}
299
299
else if ( output != originalSource )
300
300
{
301
- Console . WriteLine ( "output is " + output ) ;
302
- Console . WriteLine ( "originalSource is " + originalSource ) ;
301
+ OutputHelper . WriteLine ( "output is " + output ) ;
302
+ OutputHelper . WriteLine ( "originalSource is " + originalSource ) ;
303
303
throw new Exception ( $ "{ workloadIds } shouldn't be installed but was found.") ;
304
304
}
305
305
}
306
- Console . WriteLine ( $ "{ workloadIds } is installed") ;
306
+ OutputHelper . WriteLine ( $ "{ workloadIds } is installed") ;
307
307
}
308
308
else
309
309
{
310
310
if ( shouldBeInstalled )
311
311
{
312
312
throw new Exception ( $ "{ workloadIds } should be installed but wasn't found.") ;
313
313
}
314
- Console . WriteLine ( $ "{ workloadIds } is not installed") ;
314
+ OutputHelper . WriteLine ( $ "{ workloadIds } is not installed") ;
315
315
}
316
316
} ) ;
317
317
}
@@ -370,8 +370,8 @@ public void ExecuteAddMultiTFM(string projectName, string projectDirectory, DotN
370
370
}
371
371
catch ( XPathException e )
372
372
{
373
- Console . WriteLine ( "Unable to find node" ) ;
374
- Console . WriteLine ( e . Message ) ;
373
+ OutputHelper . WriteLine ( "Unable to find node" ) ;
374
+ OutputHelper . WriteLine ( e . Message ) ;
375
375
throw ;
376
376
}
377
377
}
@@ -390,7 +390,7 @@ internal void CopyHelper(string projectDirectory, string existing, bool recursiv
390
390
{
391
391
string targetPath = Path . Combine ( projectDirectory , file . Name ) ;
392
392
file . CopyTo ( targetPath ) ;
393
- Console . WriteLine ( $ "Copying { file . Name } to { targetPath } ") ;
393
+ OutputHelper . WriteLine ( $ "Copying { file . Name } to { targetPath } ") ;
394
394
}
395
395
if ( recursive )
396
396
{
0 commit comments