Skip to content

Commit

Permalink
Ensured Roslyn workspaces get project references added from projects
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed Dec 22, 2023
1 parent eb80d20 commit 79a8a15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 6.0.3

- Ensured Roslyn workspaces get project references added from projects (#241, thanks @AndreasKim).

# 6.0.2

- Changed how projects are added to the `Workspace` in Buildalyzer.Workspaces to be based on the Solution order, if there is a Solution (#241, thanks @AndreasKim).
Expand Down
2 changes: 1 addition & 1 deletion src/Buildalyzer.Workspaces/AnalyzerManagerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static AdhocWorkspace GetWorkspace(this IAnalyzerManager manager)
// Check for duplicate project files and don't add them
if (workspace.CurrentSolution.Projects.All(p => p.FilePath != result.ProjectFilePath))
{
result.AddToWorkspace(workspace);
result.AddToWorkspace(workspace, true);
}
}
return workspace;
Expand Down

0 comments on commit 79a8a15

Please sign in to comment.