Specify -MissingDependenciesOK to crossgen.

This commit is contained in:
Brian Robbins 2020-03-17 13:48:18 -07:00
parent e87acd73ac
commit ab98cad0e2

View file

@ -143,7 +143,7 @@ namespace Microsoft.DotNet.Build.Tasks
return $"{GetReadyToRun()} {GetPlatformAssemblyPaths()} {GetDiasymReaderPath()} {GetCreateSymbols()}";
}
return $"{GetReadyToRun()} {GetInPath()} {GetOutPath()} {GetPlatformAssemblyPaths()} {GetJitPath()}";
return $"{GetReadyToRun()} {GetMissingDependenciesOk()} {GetInPath()} {GetOutPath()} {GetPlatformAssemblyPaths()} {GetJitPath()}";
}
private string GetCreateSymbols()
@ -202,6 +202,11 @@ namespace Microsoft.DotNet.Build.Tasks
return $"-JITPath {JITPath}";
}
private string GetMissingDependenciesOk()
{
return "-MissingDependenciesOK";
}
protected override void LogToolCommand(string message)
{
base.LogToolCommand($"{base.GetWorkingDirectory()}> {message}");