Skip to content

Commit

Permalink
Merge pull request #5390 from jinke18/dev-jk2
Browse files Browse the repository at this point in the history
fixbug: invalid project group when generate a vs project
  • Loading branch information
waruqi authored Jul 24, 2024
2 parents 71ec32e + 5b092f9 commit 78b4b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/plugins/project/vstudio/impl/vs201x_solution.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ function _make_global(slnfile, vsinfo)
-- group -> group -> ...
local group_names = path.split(group_path)
for idx, group_name in ipairs(group_names) do
local key = group_name .. (group_name_sub or "")
local group_name_sub = group_names[idx + 1]
local key = group_name .. (group_name_sub or "")
if group_name_sub and not subgroups[key] then
slnfile:print("{%s} = {%s}", hash.uuid4("group." .. group_name_sub), hash.uuid4("group." .. group_name))
subgroups[key] = true
Expand Down

0 comments on commit 78b4b74

Please sign in to comment.