protected override string GenerateResponseFileCommands() { CompilerCommandLineArguments args = new CompilerCommandLineArguments(); args.AppendSwitchIfTrue("-noconfig", noConfig); if (IsWarningLevelSet) { args.AppendSwitch("-warn:", WarningLevel.ToString()); } args.AppendFileNameIfNotNull("-out:", OutputAssembly); args.AppendTarget(TargetType); args.AppendSwitchIfTrue("-debug", EmitDebugInformation); args.AppendSwitchIfTrue("-optimize", Optimize); args.AppendSwitchIfTrue("-nologo", NoLogo); args.AppendSwitchIfTrue("-unsafe", AllowUnsafeBlocks); args.AppendSwitchIfTrue("-nostdlib", NoStandardLib); args.AppendSwitchIfTrue("-checked", checkForOverflowUnderflow); args.AppendSwitchIfTrue("-delaysign", delaySign); args.AppendSwitchIfNotNull("-langversion:", langVersion); args.AppendSwitchIfNotNull("-keycontainer:", keyContainer); args.AppendSwitchIfNotNull("-keyfile:", keyFile); args.AppendSwitchIfNotNull("-define:", DefineConstants); args.AppendSwitchIfTrue("-warnaserror", TreatWarningsAsErrors); args.AppendSwitchIfNotNull("-nowarn:", DisabledWarnings); args.AppendSwitchIfNotNull("-main:", MainEntryPoint); args.AppendFileNameIfNotNull("-doc:", documentationFile); args.AppendSwitchIfNotNull("-lib:", AdditionalLibPaths, ","); args.AppendReferencesIfNotNull(References); args.AppendItemsIfNotNull("-resource:", Resources); args.AppendFileNameIfNotNull("-win32res:", win32Resource); args.AppendFileNameIfNotNull("-win32icon:", win32Icon); args.AppendFileNamesIfNotNull(Sources, " "); return(args.ToString()); }
protected override string GenerateResponseFileCommands() { CompilerCommandLineArguments args = new CompilerCommandLineArguments(); args.AppendFileNameIfNotNull("-out:", OutputAssembly); if (IsWarningLevelSet) { args.AppendSwitch("-wlevel:", WarningLevel.ToString()); } args.AppendTarget(TargetType); args.AppendSwitchIfTrue("-debug", EmitDebugInformation); args.AppendLowerCaseSwitchIfNotNull("-debug:", DebugType); args.AppendSwitchIfTrue("-nologo", NoLogo); args.AppendSwitchIfTrue("-nowarn", noWarnings); args.AppendSwitchIfTrue("-unsafe", AllowUnsafeBlocks); args.AppendSwitchIfTrue("-nostdlib", NoStandardLib); args.AppendSwitchIfNotNull("-define:", DefineConstants); args.AppendSwitchIfNotNull("-main:", MainEntryPoint); args.AppendSwitchIfNotNull("-lib:", AdditionalLibPaths, ","); args.AppendSwitchIfNotNull("-ignorewarn:", DisabledWarnings); args.AppendSwitchIfTrue("-optionstrict", OptionStrict); args.AppendSwitchIfTrue("-optionexplicit", OptionExplicit); args.AppendSwitchIfTrue("-warnaserror", TreatWarningsAsErrors); args.AppendSwitchIfTrue("-removeintchecks", removeIntegerChecks); args.AppendSwitchIfNotNull("-rootnamespace:", rootNamespace); args.AppendItemsIfNotNull("-imports:", Imports); args.AppendReferencesIfNotNull(References); args.AppendItemsIfNotNull("-resource:", Resources); args.AppendFileNamesIfNotNull(Sources, " "); return(args.ToString()); }
protected override string GenerateResponseFileCommands() { CompilerCommandLineArguments args = new CompilerCommandLineArguments(); args.AppendSwitchIfTrue("-noconfig", noConfig); if (IsWarningLevelSet) { args.AppendSwitch("-warn:", WarningLevel.ToString()); } args.AppendFileNameIfNotNull("-out:", OutputAssembly); args.AppendTarget(TargetType); args.AppendSwitchIfTrue("-debug", EmitDebugInformation); args.AppendSwitchIfTrue("-optimize", Optimize); args.AppendSwitchIfTrue("-nologo", NoLogo); args.AppendSwitchIfTrue("-unsafe", AllowUnsafeBlocks); args.AppendSwitchIfTrue("-nostdlib", NoStandardLib); args.AppendSwitchIfTrue("-checked", checkForOverflowUnderflow); args.AppendSwitchIfTrue("-delaysign", delaySign); args.AppendSwitchIfNotNull("-langversion:", langVersion); args.AppendSwitchIfNotNull("-keycontainer:", keyContainer); args.AppendSwitchIfNotNull("-keyfile:", keyFile); args.AppendSwitchIfNotNull("-define:", DefineConstants); args.AppendSwitchIfTrue("-warnaserror", TreatWarningsAsErrors); args.AppendSwitchIfNotNull("-nowarn:", DisabledWarnings); args.AppendSwitchIfNotNull("-main:", MainEntryPoint); args.AppendFileNameIfNotNull("-doc:", documentationFile); args.AppendSwitchIfNotNull("-lib:", AdditionalLibPaths, ","); args.AppendReferencesIfNotNull(References); args.AppendItemsIfNotNull("-resource:", Resources); args.AppendFileNameIfNotNull("-win32res:", win32Resource); args.AppendFileNameIfNotNull("-win32icon:", win32Icon); args.AppendFileNamesIfNotNull(Sources, " "); return args.ToString(); }
protected override string GenerateResponseFileCommands() { CompilerCommandLineArguments args = new CompilerCommandLineArguments(); args.AppendFileNameIfNotNull("-out:", OutputAssembly); if (IsWarningLevelSet) { args.AppendSwitch("-wlevel:", WarningLevel.ToString()); } args.AppendTarget(TargetType); args.AppendSwitchIfTrue("-debug", EmitDebugInformation); args.AppendLowerCaseSwitchIfNotNull("-debug:", DebugType); args.AppendSwitchIfTrue("-nologo", NoLogo); args.AppendSwitchIfTrue("-nowarn", noWarnings); args.AppendSwitchIfTrue("-unsafe", AllowUnsafeBlocks); args.AppendSwitchIfTrue("-nostdlib", NoStandardLib); args.AppendSwitchIfNotNull("-define:", DefineConstants); args.AppendSwitchIfNotNull("-main:", MainEntryPoint); args.AppendSwitchIfNotNull("-lib:", AdditionalLibPaths, ","); args.AppendSwitchIfNotNull("-ignorewarn:", DisabledWarnings); args.AppendSwitchIfTrue("-optionstrict", OptionStrict); args.AppendSwitchIfTrue("-optionexplicit", OptionExplicit); args.AppendSwitchIfTrue("-warnaserror", TreatWarningsAsErrors); args.AppendSwitchIfTrue("-removeintchecks", removeIntegerChecks); args.AppendSwitchIfNotNull("-rootnamespace:", rootNamespace); args.AppendItemsIfNotNull("-imports:", Imports); args.AppendReferencesIfNotNull(References); args.AppendItemsIfNotNull("-resource:", Resources); args.AppendFileNamesIfNotNull(Sources, " "); return args.ToString(); }