diff --git a/RELEASE.md b/RELEASE.md index 0865f055..bf64a279 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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). diff --git a/src/Buildalyzer.Workspaces/AnalyzerManagerExtensions.cs b/src/Buildalyzer.Workspaces/AnalyzerManagerExtensions.cs index 9cee3ed5..be4c9cca 100644 --- a/src/Buildalyzer.Workspaces/AnalyzerManagerExtensions.cs +++ b/src/Buildalyzer.Workspaces/AnalyzerManagerExtensions.cs @@ -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;