Sfoglia il codice sorgente

2007-08-24 Marek Habersack <[email protected]>

            * ApplicationHostTest.cs: use ; as the separator in the
            PrivateBinPath test.

2007-08-24  Marek Habersack  <[email protected]>

            * ApplicationHost.cs: use ; as the separator with PrivateBinPath.


svn path=/trunk/mcs/; revision=84766
Marek Habersack 18 anni fa
parent
commit
bbea67463d

+ 1 - 1
mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs

@@ -157,7 +157,7 @@ namespace System.Web.Hosting {
 			if (Environment.GetEnvironmentVariable ("MONO_IOMAP") != null || HttpApplication.IsRunningOnWindows)
 				setup.PrivateBinPath = "bin";
 			else
-				setup.PrivateBinPath = String.Join (Path.PathSeparator.ToString (), HttpApplication.BinDirs);
+				setup.PrivateBinPath = String.Join (";", HttpApplication.BinDirs);
 			setup.PrivateBinPathProbe = "*";
 			setup.ShadowCopyFiles = "true";
 			setup.ShadowCopyDirectories = setup.PrivateBinPath;

+ 4 - 0
mcs/class/System.Web/System.Web.Hosting/ChangeLog

@@ -1,3 +1,7 @@
+2007-08-24  Marek Habersack  <[email protected]>
+
+	* ApplicationHost.cs: use ; as the separator with PrivateBinPath.
+
 2007-08-23  Marek Habersack  <[email protected]>
 
 	* ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"

+ 1 - 1
mcs/class/System.Web/Test/System.Web.Hosting/ApplicationHostTest.cs

@@ -169,7 +169,7 @@ namespace MonoTests.System.Web.Hosting {
 			Assert.AreEqual (null, setup.LicenseFile, "D8");
 			//Assert.AreEqual (LoaderOptimization.NotSpecified, setup.LoaderOptimization);
 			p ("LoaderOptimization is: ", setup.LoaderOptimization);
-			Assert.AreEqual ("Bin:bin", setup.PrivateBinPath, "D9");
+			Assert.AreEqual ("Bin;bin", setup.PrivateBinPath, "D9");
 			Assert.AreEqual (setup.PrivateBinPathProbe, "*", "D10");
 			p ("ShadowCopyDirs: ", setup.ShadowCopyDirectories);
 			Assert.AreEqual (true, setup.ShadowCopyDirectories.EndsWith ("bin"), "D11");

+ 5 - 0
mcs/class/System.Web/Test/System.Web.Hosting/ChangeLog

@@ -1,3 +1,8 @@
+2007-08-24  Marek Habersack  <[email protected]>
+
+	* ApplicationHostTest.cs: use ; as the separator in the
+	PrivateBinPath test.
+
 2007-08-21  Marek Habersack  <[email protected]>
 
 	* ApplicationHostTest.cs: adjust the test for the PrivateBinPath