Skip to content

Commit

Permalink
Update PublishPackageViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusongit committed Feb 1, 2024
1 parent 70257f7 commit 506977f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ internal IEnumerable<string> GetAllFiles()
// union with additional files
files = files.Union(AdditionalFiles);
// if we retain the folder structure, we don't want to lose assemblies in sub-folders
// othrewise we need to delete duplicate assemblies which will end up in the same `dll` folder
// otherwise we need to delete duplicate assemblies which will end up in the same `dll` folder
files = RetainFolderStructureOverride && !IsPublishFromLocalPackage ?
files.Union(Assemblies.Select(x => x.LocalFilePath)) :
files.Union(Assemblies.Select(x => x.Assembly.Location));
Expand Down

0 comments on commit 506977f

Please sign in to comment.