Skip to content

Commit

Permalink
added support for UWP C++ #155
Browse files Browse the repository at this point in the history
  • Loading branch information
Irame committed Sep 8, 2023
1 parent 822660a commit b7ac29b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SmartCmdArgs/SmartCmdArgs.Shared/Helper/ProjectArguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ private static void GetMultiConfigAllArguments(EnvDTE.Project project, List<CmdA
("GamingDesktopDebugger", "CommandLineArgs", null),
("OasisNXDebugger", "RemoteDebuggerCommandArguments", "RemoteDebuggerEnvironment"),
("LinuxDebugger", "RemoteDebuggerCommandArguments", null),
("AppHostLocalDebugger", "CommandLineArgs", null),
};

private static void SetVCProjEngineConfig(EnvDTE.Project project, string arguments, IDictionary<string, string> envVars)
Expand Down Expand Up @@ -398,7 +399,7 @@ private static void GetCpsProjectConfig(EnvDTE.Project project, List<CmdArgument
{
// C#
{ProjectKinds.CS, new ProjectConfigHandlers() {
SetConfig = (project, arguments, _) => SetMultiConfigArguments(project, arguments, "StartArguments"),
SetConfig = (project, arguments, _) => SetMultiConfigArguments(project, arguments, "StartArguments"), // UWP uses CommandLineArguments instead of StartArguments
GetAllArguments = (project, allArgs) => GetMultiConfigAllArguments(project, allArgs, "StartArguments")
} },
// VB.NET
Expand Down

0 comments on commit b7ac29b

Please sign in to comment.