suppress adding project output to export when there is no output

This commit is contained in:
Andrew Stanton-Nurse 2016-01-28 10:51:55 -08:00
parent 07fbb3d967
commit be29bb2968

View file

@ -174,7 +174,7 @@ namespace Microsoft.DotNet.ProjectModel.Compilation
compileAssemblies.Add(compileAsset);
runtimeAssets.Add(pdbPath);
}
else
else if(project.Project.Files.SourceFiles.Any())
{
var outputCalculator = project.GetOutputPathCalculator();
var assemblyPath = outputCalculator.GetAssemblyPath(_configuration);