suppress adding project output to export when there is no output
This commit is contained in:
parent
07fbb3d967
commit
be29bb2968
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue