public static void SetArguments(IVsHierarchy project, string arguments) { if (project.IsCpsProject()) { Logger.Info($"Setting arguments on CPS project of type '{project.GetKind()}'."); SetCpsProjectArguments(project.GetProject(), arguments); } else { ProjectArgumentsHandlers handler; if (supportedProjects.TryGetValue(project.GetKind(), out handler)) { handler.SetArguments(project.GetProject(), arguments); } } }
public static void AddAllArguments(IVsHierarchy project, List <string> allArgs) { if (project.IsCpsProject()) { Logger.Info($"Reading arguments on CPS project of type '{project.GetKind()}'."); GetCpsProjectAllArguments(project.GetProject(), allArgs); } else { ProjectArgumentsHandlers handler; if (supportedProjects.TryGetValue(project.GetKind(), out handler)) { handler.GetAllArguments(project.GetProject(), allArgs); } } }
public static void SetArguments(IVsHierarchy project, string arguments) { ProjectArgumentsHandlers handler; if (supportedProjects.TryGetValue(project.GetKind(), out handler)) { handler.SetArguments(project.GetProject(), arguments); } }
public static void AddAllArguments(IVsHierarchy project, List <string> allArgs) { ProjectArgumentsHandlers handler; if (supportedProjects.TryGetValue(project.GetKind(), out handler)) { handler.GetAllArguments(project.GetProject(), allArgs); } }
public static void SetWorkingDirectory(IVsHierarchy project, string arguments) { if (project.IsCpsProject()) { Logger.Error("Working dir support not implemented for Cps projects."); } else { ProjectArgumentsHandlers handler; if (supportedProjects.TryGetValue(project.GetKind(), out handler)) { handler.SetWorkingDirectory(project.GetProject(), arguments); } } }
public static void AddAllWorkingDirectories(IVsHierarchy project, List <string> allWorkingDirs) { if (project.IsCpsProject()) { Logger.Error("Working dir support not implemented for Cps projects."); } else { ProjectArgumentsHandlers handler; if (supportedProjects.TryGetValue(project.GetKind(), out handler)) { handler.GetAllWorkingDirectories(project.GetProject(), allWorkingDirs); } } }