Skip to content

Commit b29e66e

Browse files
authored
Merge pull request #467 from tonyhallett/fix-null-project-reference-path-on-subs-run
fix by using the Name instead of the Path
2 parents 6fb335e + 9ab9694 commit b29e66e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SharedProject/Core/Model/CoverageProject.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ private async Task<List<ReferencedProject>> GetReferencedProjectsFromDteAsync()
332332
return vsproject.References.Cast<VSLangProj.Reference>().Where(r => r.SourceProject != null).Select(r =>
333333
{
334334
ThreadHelper.ThrowIfNotOnUIThread();
335-
var assemblyName = Path.GetFileNameWithoutExtension(r.Path);
336-
return new ReferencedProject(r.SourceProject.FullName, assemblyName);
335+
return new ReferencedProject(r.SourceProject.FullName, r.Name);
337336
}).ToList();
338337

339338
}

0 commit comments

Comments
 (0)