Skip to content

Commit

Permalink
Fix exception when multiple projects reference the same .vcxitems pro…
Browse files Browse the repository at this point in the history
…ject (#445)
  • Loading branch information
OskiKervinen-MF authored Jan 30, 2023
1 parent 726196e commit a76f2fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void LoadProjects(IEnumerable<string> projectPaths, ProjectCollection pro
_ = CreateProject(projectPath.FullName, globalProperties, projectCollection);
}
}
else if (importPath.EndsWith(ProjectFileExtensions.VcxItems))
else if (importPath.EndsWith(ProjectFileExtensions.VcxItems) && !LoadedProjects.ContainsKey(importPath))
{
_ = CreateProject(importPath, globalProperties, projectCollection);
}
Expand Down

0 comments on commit a76f2fd

Please sign in to comment.