Skip to content

Commit

Permalink
Fixed incorrect selection of project in properties (name:project)
Browse files Browse the repository at this point in the history
  • Loading branch information
3F committed Nov 26, 2023
1 parent bc1ff85 commit 4bd73dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsSolutionBuildEvent/EnvAbstract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public virtual EProject getProject(string name = null)
}

IConfPlatformPrj cfg = Sln.ProjectItemsConfigs
.FirstOrDefault(p => ActiveSlnConf?.Equals(p.solutionConfig) == true)
.projectConfig;
.FirstOrDefault(p => p.project.name == name && ActiveSlnConf?.Equals(p.solutionConfig) == true)
.projectConfig;

return (cfg == null) ? SlnEnv?.GetOrLoadProject(project)
: SlnEnv?.GetOrLoadProject(project, cfg);
Expand Down

0 comments on commit 4bd73dd

Please # to comment.