Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #940 from microsoft/dev
Browse files Browse the repository at this point in the history
Merge regression issue fixes
  • Loading branch information
Lxiamail authored Oct 27, 2020
2 parents 15738f0 + 6d5b655 commit efd82cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public ProjectAnalyzer(

foreach (var file in output)
{
targetAssemblies.Add(Path.GetFileName(file));
targetAssemblies.Add(file);
}

referencedNuGetPackages.UnionWith(GetPackageReferences(project));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,13 @@ private static void GenerateUnreferencedAssembliesPage(Worksheet missingAssembli
}
}

foreach (var unresolvedAssemblyPair in response.Request.NonUserAssemblies.OrderBy(asm => asm.AssemblyIdentity))
if (response.Request.NonUserAssemblies != null)
{
missingAssembliesPage.AddRow(unresolvedAssemblyPair.AssemblyIdentity, string.Empty, LocalizedStrings.SkippedAssembly);
detailsRows++;
foreach (var unresolvedAssemblyPair in response.Request.NonUserAssemblies.OrderBy(asm => asm.AssemblyIdentity))
{
missingAssembliesPage.AddRow(unresolvedAssemblyPair.AssemblyIdentity, string.Empty, LocalizedStrings.SkippedAssembly);
detailsRows++;
}
}

// Generate the pretty table
Expand Down

0 comments on commit efd82cc

Please sign in to comment.