Updating the vstest.console to use the same runtime that is shipping with the CLI.
This commit is contained in:
parent
1b2c0cffc0
commit
0b19d6889e
2 changed files with 17 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using Microsoft.Build.Utilities;
|
||||
using Microsoft.Build.Framework;
|
||||
|
||||
|
@ -84,7 +85,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var replacementPattern = ReplacementPatterns[i].ItemSpec;
|
||||
var replacementString = ReplacementStrings[i].ItemSpec;
|
||||
|
||||
outText = outText.Replace(replacementPattern, replacementString);
|
||||
var regex = new Regex(replacementPattern);
|
||||
outText = regex.Replace(outText, replacementString);
|
||||
}
|
||||
|
||||
return outText;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue