Add dotnet-compile to path probing watch

Since Build is heavily coupled to the logic in dotnet-compile, we're
checking against path probing for dotnet-compile
This commit is contained in:
Mihai Codoban 2016-01-18 22:03:50 -08:00
parent 3a8ef0f5e9
commit b2f5bbeeb0

View file

@ -152,9 +152,10 @@ namespace Microsoft.DotNet.Tools.Compiler
return compilationOptions;
}
//used in incremental precondition checks
public static IEnumerable<string> GetCommandsInvokedByCompile(ProjectContext project)
{
return new List<string> {ResolveCompilerName(project)};
return new List<string> {ResolveCompilerName(project), "dotnet-compile"};
}
}
}