예제 #1
0
		public void TeamCityStyleResponseFile ()
		{
			var responseFile = Path.GetTempFileName ();
			var contents = 
					"/p:idea_build_agent_port=\"9090\" " +
					"/p:idea_build_server_build_id=\"13852\" " +
					"/p:path_separator=\":\"";
			File.WriteAllText (responseFile, contents);
			var parameters = new Parameters ("bin");
			parameters.ParseArguments (
			    new [] { "/noautorsp", string.Format ("@\"{0}\"", responseFile), "\"project.xml\""});
			
			var properties = parameters.Properties;
			Assert.AreEqual(3, properties.Count);
			Assert.AreEqual("9090", properties["idea_build_agent_port"].Value);
			Assert.AreEqual("13852", properties["idea_build_server_build_id"].Value);
			Assert.AreEqual(":", properties["path_separator"].Value);
		}
예제 #2
0
파일: Main.cs 프로젝트: nobled/mono
		public MainClass ()
		{
			string binPath = ToolLocationHelper.GetPathToDotNetFramework (TargetDotNetFrameworkVersion.Version20);
			defaultSchema = Path.Combine (binPath, "Microsoft.Build.xsd");
			parameters = new Parameters ();
		}
예제 #3
0
파일: Main.cs 프로젝트: mdae/MonoRT
 public MainClass()
 {
     binPath       = ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version20);
     defaultSchema = Path.Combine(binPath, "Microsoft.Build.xsd");
     parameters    = new Parameters(binPath);
 }