MSBuild.NUnit/NUnit.cs
/// <summary>
/// Returns a string value containing the command line arguments to pass directly to the executable file.
/// </summary>
/// <returns>
/// A string value containing the command line arguments to pass directly to the executable file.
/// </returns>
Returns a string value containing the command line arguments to pass directly to the executable file.
Returns a string value containing the command line arguments to pass directly to the executable file .
protected override string GenerateCommandLineCommands()
		{
			CommandLineBuilder builder = new CommandLineBuilder();
			builder.AppendSwitch(PathSeparator + "nologo");
			if (DisableShadowCopy)
			{
				builder.AppendSwitch(PathSeparator + "noshadow");
			}
			if (HideDots)
			{
				builder.AppendSwitch(PathSeparator + "nodots");
			}
			if (ShowLabels)
			{
				builder.AppendSwitch(PathSeparator + "labels");
			}
			if (!TestInNewThread)
			{
				builder.AppendSwitch(PathSeparator + "nothread");
			}
			builder.AppendFileNamesIfNotNull(Assemblies, " ");
			builder.AppendSwitchIfNotNull(PathSeparator + "config=", ProjectConfiguration);
			builder.AppendSwitchIfNotNull(PathSeparator + "run=", WhatToRun);
			builder.AppendSwitchIfNotNull(PathSeparator + "include=", IncludeCategory);
			builder.AppendSwitchIfNotNull(PathSeparator + "exclude=", ExcludeCategory);
			builder.AppendSwitchIfNotNull(PathSeparator + "transform=", XsltTransformFile);
			builder.AppendSwitchIfNotNull(PathSeparator + "xml=", OutputXmlFile);
			builder.AppendSwitchIfNotNull(PathSeparator + "err=", ErrorOutputFile);
			builder.AppendSwitchIfNotNull(PathSeparator + "framework=", FrameworkToUse);
			if (ProcessModelType != ProcessModelType.Default)
			{
				builder.AppendSwitchIfNotNull(PathSeparator + "process=", ProcessModelType.ToString());
			}
			if (AppDomainUsageType != AppDomainUsageType.Default)
			{
				builder.AppendSwitchIfNotNull(PathSeparator + "domain=", AppDomainUsageType.ToString());
			}
			if (TestCaseTimeoutInMilliseconds != 0)
			{
				builder.AppendSwitchIfNotNull(PathSeparator + "timeout=", TestCaseTimeoutInMilliseconds.ToString(CultureInfo.InvariantCulture));
			}
			return builder.ToString();
		}
protected override string GenerateCommandLineCommands ( ) { CommandLineBuilder builder = new CommandLineBuilder ( ) ; builder . AppendSwitch ( PathSeparator + " " ) ; if ( DisableShadowCopy ) { builder . AppendSwitch ( PathSeparator + " " ) ; } if ( HideDots ) { builder . AppendSwitch ( PathSeparator + " " ) ; } if ( ShowLabels ) { builder . AppendSwitch ( PathSeparator + " " ) ; } if ( ! TestInNewThread ) { builder . AppendSwitch ( PathSeparator + " " ) ; } builder . AppendFileNamesIfNotNull ( Assemblies , " " ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , ProjectConfiguration ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , WhatToRun ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , IncludeCategory ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , ExcludeCategory ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , XsltTransformFile ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , OutputXmlFile ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , ErrorOutputFile ) ; builder . AppendSwitchIfNotNull ( PathSeparator + " " , FrameworkToUse ) ; if ( ProcessModelType != ProcessModelType . Default ) { builder . AppendSwitchIfNotNull ( PathSeparator + " " , ProcessModelType . ToString ( ) ) ; } if ( AppDomainUsageType != AppDomainUsageType . Default ) { builder . AppendSwitchIfNotNull ( PathSeparator + " " , AppDomainUsageType . ToString ( ) ) ; } if ( TestCaseTimeoutInMilliseconds != 0 ) { builder . AppendSwitchIfNotNull ( PathSeparator + " " , TestCaseTimeoutInMilliseconds . ToString ( CultureInfo . InvariantCulture ) ) ; } return builder . ToString ( ) ; }
Returns a string value containing the command line arguments to pass directly to the executable file.
Returns a string value containing the command line arguments to pass directly to the executable file .
A string value containing the command line arguments to pass directly to the executable file.
A string value containing the command line arguments to pass directly to the executable file .