Просмотр исходного кода

2008-10-29 Marek Habersack <[email protected]>

	* ApplicationHost.cs: set domain setup CachePath to the same value
	as DynamicBase, so that shadow-copied assemblies appear under the
	same location what generated files.

svn path=/trunk/mcs/; revision=117371
Marek Habersack 17 лет назад
Родитель
Сommit
6e7832b5bb

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

@@ -165,7 +165,6 @@ namespace System.Web.Hosting {
 
 			setup.ApplicationBase = physicalDir;
 
-			setup.CachePath = null;
 			setup.ConfigurationFile = FindWebConfig (physicalDir);
 			setup.DisallowCodeDownload = true;
 
@@ -228,6 +227,7 @@ namespace System.Web.Hosting {
 
 			setup.ApplicationName = domain_id;
 			setup.DynamicBase = dynamic_dir;
+			setup.CachePath = dynamic_dir;
 
 			string dynamic_base = setup.DynamicBase;
 			if (CreateDirectory (dynamic_base) && (Environment.GetEnvironmentVariable ("MONO_ASPNET_NODELETE") == null))

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

@@ -1,3 +1,9 @@
+2008-10-29  Marek Habersack  <[email protected]>
+
+	* ApplicationHost.cs: set domain setup CachePath to the same value
+	as DynamicBase, so that shadow-copied assemblies appear under the
+	same location what generated files.
+
 2008-05-13  Gert Driesen  <[email protected]>
 
 	* VirtualPathProvider.cs: Removed debug code.