/// <summary> /// Helper function to get the correct property from a project that represents its command line arguments /// </summary> private static Property GetProjectCommandLineProperty(Project InProject) { // C++ projects use "CommandArguments" as the property name var CommandLineArgumentsProperty = Utils.GetProjectConfigProperty(InProject, null, "CommandArguments"); // C# projects use "StartArguments" as the property name if (CommandLineArgumentsProperty == null) { CommandLineArgumentsProperty = Utils.GetProjectConfigProperty(InProject, null, "StartArguments"); } return(CommandLineArgumentsProperty); }