[Mono-bugs] [Bug 535952] New: VirtualPath fails in compilation
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Sep 1 10:27:36 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=535952
Summary: VirtualPath fails in compilation
Classification: Mono
Product: Mono: Runtime
Version: 2.4.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: debug
AssignedTo: martin at novell.com
ReportedBy: sniper666666 at hotmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
When using virtualPath it throws example
<%@ Page Language="C#" MasterPageFile="~/master.master"%>
<%@ MasterType VirtualPath="~/master.master" %>
CS1525: Unexpected symbol `private'
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.Compilation.CompilationException: CS1525: Unexpected symbol
`private'
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters
options) [0x00000]
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath
virtualPath, BuildKind buildKind) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath
virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00000]
at System.Web.UI.PageParser.get_MasterType () [0x00000]
at System.Web.Compilation.PageCompiler.CreateMethods () [0x00000]
at System.Web.Compilation.BaseCompiler.ConstructType () [0x00000]
at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode ()
[0x00000]
at System.Web.Compilation.BuildManager+BuildItem.GenerateCode () [0x00000]
Reproducible: Always
Steps to Reproduce:
1. Create Masterpage
2. Create template with masterpage
3. add <%@ MasterType VirtualPath="~/master.master" %> and try to compile on
mono
Actual Results:
CS1525: Unexpected symbol `private'
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.Compilation.CompilationException: CS1525: Unexpected symbol
`private'
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters
options) [0x00000]
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath
virtualPath, BuildKind buildKind) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath
virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00000]
at System.Web.UI.PageParser.get_MasterType () [0x00000]
at System.Web.Compilation.PageCompiler.CreateMethods () [0x00000]
at System.Web.Compilation.BaseCompiler.ConstructType () [0x00000]
at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode ()
[0x00000]
at System.Web.Compilation.BuildManager+BuildItem.GenerateCode () [0x00000]
Expected Results:
Site runs smoothly..
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list