Disable node-reuse to allow rebuilding

Recent builds of msbuild have node reuse enabled by default. This locks up the
task dlls after the test's completed preventing rebuilds untill you kill the process.
This commit is contained in:
Pranav K 2018-04-21 10:55:48 -07:00
parent a643531c05
commit a9f818bf82
1 changed files with 6 additions and 1 deletions

View File

@ -62,7 +62,12 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
MSBuildProcessKind msBuildProcessKind = MSBuildProcessKind.Dotnet)
{
var timeout = suppressTimeout ? (TimeSpan?)Timeout.InfiniteTimeSpan : null;
var buildArgumentList = new List<string>();
var buildArgumentList = new List<string>
{
// Disable node-reuse. We don't want msbuild processes to stick around
// once the test is completed.
"/nr:false",
};
if (!suppressRestore)
{