Skip to content

Commit bae6511

Browse files
committed
uniqueness
1 parent ccc90cc commit bae6511

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/NetPackageAnalyzer/NetPackageAnalyzerExportHTML/HtmlSummary.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,9 +1277,9 @@
12771277

12781278
@(await namePerCountDisplayThreshold.RenderAsync())
12791279

1280-
<h2 id="summary-of-project-public-classes">Summary of project public classes</h2>
12811280
@if (mostPublicClasses != null)
12821281
{
1282+
<h2 id="summary-of-project-public-classes">Summary of project public classes</h2>
12831283
<text>
12841284

12851285

src/NetPackageAnalyzer/NetPackageAnalyzerExportHTML/Templates/matzehuels_stacktower.cshtml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,20 @@
44
var nameSolution = "Sol_"+GlobalsForGenerating.NameSolution;
55
var allProjects = projectDicts.ProjectByName().ToArray();
66
int i = 0;
7+
var nameProjects = allProjects
8+
.Select(it => it.NameCSproj())
9+
.Distinct()
10+
.ToArray()
11+
;
712
}
813

914
{
1015
"nodes": [
1116

12-
@foreach (var proj in allProjects)
17+
@foreach (var proj in nameProjects)
1318
{
1419
i++;
15-
var nameCsproj = proj.NameCSproj();
20+
var nameCsproj = proj;
1621
string id =(i==1)? "":",";
1722
id += "{ \"id\": \"" + nameCsproj +"\"";
1823
id += ",\"meta\": {";

0 commit comments

Comments
 (0)