diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-05-01 00:07:26 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-05-01 00:07:26 +0400 |
commit | 201982bea991b813fe3dd778b5b8f161c594b824 (patch) | |
tree | ec682a7d8103ccd5e151fcef6a785e708edf6b21 /mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs | |
parent | b25312c41b0c129d4d340d1adbb1e2903a0f46a1 (diff) |
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.Compilation/TemplateControlCompiler.cs: correctly set
the TemplateSourceDirectory value.
* System.Web.UI/ApplicationFileParser.cs: store the Context and
override BaseVirtualDir so that it's the application path.
* System.Web.UI/BaseParser.cs: removed CurrentVirtualPath property.
* System.Web.UI/TemplateControlParser.cs: use BaseVirtualDir.
* System.Web.UI/UserControlParser.cs: removed CurrentVirtualPath.
svn path=/trunk/mcs/; revision=14168
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs b/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs index cc5b005ef9a..75f464a1a8d 100644 --- a/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs +++ b/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs @@ -88,8 +88,8 @@ namespace System.Web.UI "must be .ascx"); - AddDependency (Path.Combine (MapPath (CurrentVirtualPath), src)); - Type type = UserControlParser.GetCompiledType (CurrentVirtualPath, src, Context); + AddDependency (Path.Combine (MapPath (BaseVirtualDir), src)); + Type type = UserControlParser.GetCompiledType (BaseVirtualDir, src, Context); AddAssembly (type.Assembly, true); RootBuilder.Foundry.RegisterFoundry (tagprefix, tagname, type); return; |