Fix incremental build

This commit is contained in:
Pavel Krymets 2016-02-09 15:41:45 -08:00
parent b0470fdebb
commit 2fe913ae8f

View file

@ -462,7 +462,7 @@ namespace Microsoft.DotNet.Tools.Build
AddDependencies(dependencies, compilerIO);
var allOutputPath = new List<string>(calculator.CompilationFiles.All());
if (!string.IsNullOrEmpty(project.RuntimeIdentifier))
if (project.ProjectFile.HasRuntimeOutput(buildConfiguration))
{
allOutputPath.AddRange(calculator.RuntimeFiles.All());
}