From ac818392d2cdb4446b5bc0a1f3e354be9e7b9752 Mon Sep 17 00:00:00 2001 From: Alicia Li Date: Tue, 27 Oct 2020 14:25:43 -0700 Subject: [PATCH] fix issue: Analyzing projects in VS fails due to file not found #938 --- .../ApiPort.VisualStudio.Common/Analyze/ProjectAnalyzer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ApiPort/ApiPort.VisualStudio.Common/Analyze/ProjectAnalyzer.cs b/src/ApiPort/ApiPort.VisualStudio.Common/Analyze/ProjectAnalyzer.cs index 2099f346f..0aa519d17 100644 --- a/src/ApiPort/ApiPort.VisualStudio.Common/Analyze/ProjectAnalyzer.cs +++ b/src/ApiPort/ApiPort.VisualStudio.Common/Analyze/ProjectAnalyzer.cs @@ -83,7 +83,7 @@ public ProjectAnalyzer( foreach (var file in output) { - targetAssemblies.Add(Path.GetFileName(file)); + targetAssemblies.Add(file); } referencedNuGetPackages.UnionWith(GetPackageReferences(project));