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:
parent
a643531c05
commit
a9f818bf82
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue