public RustProjectLauncher(RustProjectNode project) { Utilities.ArgumentNotNull("project", project); string currConfig = project.GetProjectProperty(ProjectFileConstants.Configuration); RustProjectConfig projectConfig = (RustProjectConfig)project.ConfigProvider.GetProjectConfiguration(currConfig); debugConfig = Configuration.Debug.LoadFrom(new[] { projectConfig.UserCfg }); if (debugConfig.StartAction == Configuration.StartAction.Project && project.GetProjectProperty("OutputType") != "exe") { throw new InvalidOperationException("A project with an Output Type of Library cannot be started directly."); } this.environment = new LauncherEnvironment(project, debugConfig, projectConfig); }
public ReleaseLauncher(LauncherEnvironment env) { this.env = env; }
public MsvcDebugLauncher(LauncherEnvironment env) { this.env = env; }