Merge pull request #1333 from dotnet/pakrym/fix-incremental

Fix incremental build
This commit is contained in:
Pavel Krymets 2016-02-09 16:18:14 -08:00
commit 9e84d560a0

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());
}