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:
parent
3a8ef0f5e9
commit
b2f5bbeeb0
1 changed files with 2 additions and 1 deletions
|
@ -152,9 +152,10 @@ namespace Microsoft.DotNet.Tools.Compiler
|
||||||
return compilationOptions;
|
return compilationOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//used in incremental precondition checks
|
||||||
public static IEnumerable<string> GetCommandsInvokedByCompile(ProjectContext project)
|
public static IEnumerable<string> GetCommandsInvokedByCompile(ProjectContext project)
|
||||||
{
|
{
|
||||||
return new List<string> {ResolveCompilerName(project)};
|
return new List<string> {ResolveCompilerName(project), "dotnet-compile"};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue