From 9ab969491415c63dbb231531a64270065c88af0a Mon Sep 17 00:00:00 2001 From: Tony Hallett Date: Thu, 14 Nov 2024 10:36:47 +0000 Subject: [PATCH] fix by using the Name instead of the Path --- SharedProject/Core/Model/CoverageProject.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SharedProject/Core/Model/CoverageProject.cs b/SharedProject/Core/Model/CoverageProject.cs index b6409f49..2e9a211e 100644 --- a/SharedProject/Core/Model/CoverageProject.cs +++ b/SharedProject/Core/Model/CoverageProject.cs @@ -332,8 +332,7 @@ private async Task> GetReferencedProjectsFromDteAsync() return vsproject.References.Cast().Where(r => r.SourceProject != null).Select(r => { ThreadHelper.ThrowIfNotOnUIThread(); - var assemblyName = Path.GetFileNameWithoutExtension(r.Path); - return new ReferencedProject(r.SourceProject.FullName, assemblyName); + return new ReferencedProject(r.SourceProject.FullName, r.Name); }).ToList(); }