Skip to content

Commit

Permalink
Ignore project referenced assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
einari committed Oct 1, 2023
1 parent 2f321e6 commit d64d068
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public void Initialize()
var dependencyModel = DependencyContext.Load(entryAssembly);

var assemblies = dependencyModel.RuntimeLibraries
.Where(_ => _.RuntimeAssemblyGroups.Count > 0 &&
.Where(_ => !_.Type.Equals("project") &&
_.RuntimeAssemblyGroups.Count > 0 &&
_assemblyPrefixesToInclude.Any(asm => _.Name.StartsWith(asm)))
.Select(_ => AssemblyHelpers.Resolve(_.Name)!)
.Where(_ => _ is not null)
Expand Down

0 comments on commit d64d068

Please sign in to comment.