internal void InitializeHostObjectSupportForNewSwitches( ITaskHost hostObject, ref string param ) { var compilerOptionsHostObject = hostObject as ICompilerOptionsHostObject; if (compilerOptionsHostObject != null) { var commandLineBuilder = new CommandLineBuilderExtension(); AddResponseFileCommandsForSwitchesSinceInitialReleaseThatAreNeededByTheHost( commandLineBuilder ); param = "CompilerOptions"; CheckHostObjectSupport( param, compilerOptionsHostObject.SetCompilerOptions(commandLineBuilder.ToString()) ); } }
internal void InitializeHostObjectSupportForNewSwitches(ITaskHost hostObject, ref string param) { var compilerOptionsHostObject = hostObject as ICompilerOptionsHostObject; if (compilerOptionsHostObject != null) { var commandLineBuilder = new CommandLineBuilderExtension(); AddResponseFileCommandsForSwitchesSinceInitialReleaseThatAreNeededByTheHost(commandLineBuilder); param = "CompilerOptions"; CheckHostObjectSupport(param, compilerOptionsHostObject.SetCompilerOptions(commandLineBuilder.ToString())); } }
protected override string GenerateCommandLineCommands() { CommandLineBuilderExtension commandLineBuilder = new CommandLineBuilderExtension(); AddCommandLineCommands(commandLineBuilder); return commandLineBuilder.ToString(); }
protected override string GenerateResponseFileCommands() { var commandLineBuilder = new CommandLineBuilderExtension(); AddResponseFileCommands(commandLineBuilder); return commandLineBuilder.ToString(); }