Skip to content

Commit

Permalink
Show package names only once
Browse files Browse the repository at this point in the history
  • Loading branch information
dawedawe committed Aug 31, 2023
1 parent 07ad91b commit b03d263
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Components/SolutionExplorer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,9 @@ module SolutionExplorer =
let projRefs = project.ProjectReferences |> Array.map (fun n -> n.ProjectFileName)

let packageRefs =
project.PackageReferences |> Array.map (fun n -> n.Name + " " + n.Version)
project.PackageReferences
|> Array.distinctBy (fun n -> n.Name)
|> Array.map (fun n -> n.Name + " " + n.Version)

let refs =
refs
Expand Down

0 comments on commit b03d263

Please sign in to comment.