Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion modules/vstudio/vs2005_csproj_user.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
m.elements.userProjectPropertyGroup = function()
return {
m.referencePath,
m.startWorkingDir,
}
end

Expand Down Expand Up @@ -82,7 +83,14 @@
end
end


function m.startWorkingDir(prj)
-- Per-configuration reference paths aren't supported (are they?) so just
-- use the first configuration in the project
Comment on lines +87 to +88
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was copied from the above function unchanged. If this still applies can you update the comment, otherwise it would be good to have this work like debugargs where it can be specified per config.

local cfg = p.project.getfirstconfig(prj)
if cfg.debugdir then
p.x('<StartWorkingDirectory>%s</StartWorkingDirectory>', cfg.debugdir)
end
end

function m.localDebuggerCommandArguments(cfg)
if #cfg.debugargs > 0 then
Expand Down