[Mono-dev] Bug with OutputCache directive in Mono 2.4.1

Maxim max at special-it.ru
Wed May 6 19:27:42 EDT 2009


Hello!

I've just upgraded Mono to 2.4.1 on my develop machine and found very
strange error.
On all pages with directive
<%@ OutputCache Location="None" VaryByParam="None" Duration="1" %>
I've got error "//CS0103: The name `None' does not exist in the current
context//"
It seems like related to Location attribute.

I've downgraded to Mono 2.4-19 and error disappeared.
Should I file this bug in Novell Bugzilla?

With best wishes,
Maxim Karavaev

P.S. Full exception stack:

System.Web.Compilation.CompilationException: CS0103: The name `None' does not exist in the current context
  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.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000] 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] 
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000] 




More information about the Mono-devel-list mailing list