2008-10-29 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Wed, 29 Oct 2008 14:10:10 +0000 (14:10 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 29 Oct 2008 14:10:10 +0000 (14:10 -0000)
* 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

mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs
mcs/class/System.Web/System.Web.Hosting/ChangeLog

index 1766c461de749cd867e24f5bfe018f6fe5fd1712..1b826dfdace1956c36fcbe1c60a66be13061509e 100644 (file)
@@ -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))
index bf1182a08330963f86220da3d8d7a6cec20cb956..afb1ec446459331a7835f17a24d986fcd180c865 100644 (file)
@@ -1,3 +1,9 @@
+2008-10-29  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <drieseng@users.sourceforge.net>
 
        * VirtualPathProvider.cs: Removed debug code.