Browse Source

2006-03-03 Gonzalo Paniagua Javier <[email protected]>

	* ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
	PrivateBinPath to the same value.


svn path=/trunk/mcs/; revision=57563
Gonzalo Paniagua Javier 20 years ago
parent
commit
81c2c05212

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

@@ -99,11 +99,11 @@ namespace System.Web.Hosting {
 			setup.ApplicationName = domain_id;
 			setup.ConfigurationFile = FindWebConfig (physicalDir);
 			setup.DisallowCodeDownload = true;
-			setup.PrivateBinPath = "bin";
+			string bin_path = Path.Combine (physicalDir, "bin");
+			setup.PrivateBinPath = bin_path;
 			setup.PrivateBinPathProbe = "*";
 			setup.ShadowCopyFiles = "true";
-			UriBuilder b = new UriBuilder ("file://", null, 0, Path.Combine (physicalDir, "bin"));
-			setup.ShadowCopyDirectories = b.Uri.ToString ();
+			setup.ShadowCopyDirectories = bin_path;
 
 			string dynamic_dir = null;
 			string user = Environment.UserName;

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

@@ -1,3 +1,8 @@
+2006-03-03 Gonzalo Paniagua Javier <[email protected]>
+
+	* ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
+	PrivateBinPath to the same value.
+
 2006-03-01 Gonzalo Paniagua Javier <[email protected]>
 
 	* BareApplicationHost.cs: initialize paths from AppDomain data. New