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

Marek Habersack grendel at twistedcode.net
Wed May 6 19:49:00 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maxim wrote:
> Hello!
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?
Please do, with a test case attached. Thanks!

marek

> 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] 
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoCIekACgkQq3909GIf5upjqACdGVq53gQLwczPB2GrVwRx/Y0z
vAIAnjzywm6OKso2QxniQRwdqZPgNlFn
=18zJ
-----END PGP SIGNATURE-----


More information about the Mono-devel-list mailing list