Prioritize local dotnet when running SDK Razor tests.

- The SDK tests were occasionally failing with access denied due to the test using the machines dotnet.exe (instead of the local projects dotnet.exe).

dotnet/aspnetcore-tooling#1667
\n\nCommit migrated from 1a96714921
This commit is contained in:
N. Taylor Mullen 2019-01-15 14:53:20 -08:00
parent 57211a33db
commit 12a6864710
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
{
@ -38,7 +39,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
else
{
processStartInfo.FileName = "dotnet";
processStartInfo.FileName = DotNetMuxer.MuxerPathOrDefault();
processStartInfo.Arguments = $"msbuild {arguments}";
}