[Mono-list] Problem with WEB-Page

Robert Jordan robertj at gmx.net
Thu Sep 24 09:39:23 EDT 2009


David das Neves wrote:
> Hey,
> 
> I got some problems to compile and use my web application with mono. I think
> its an extraordinary problem which is not directly my fault. At least i hope
> so because its working fine with Visual Studio and its Compiler.
> Here is the error & stacktrace:
> 
> Server Error in '/' Application
> /tmp/neves-temp-aspnet-0/9c49358e/App_Web_303de01a_0.cs(3924,1) : warning
> CS0219: The variable `Container' is assigned but its value is never used
> 
> Description: HTTP 500. Error processing request.
> 
> Stack Trace:
> 
> System.Web.Compilation.CompilationException:
> /tmp/neves-temp-aspnet-0/9c49358e/App_Web_303de01a_0.cs(3924,1) : warning
> CS0219: The variable `Container' is assigned but its value is never used
>   at System.Web.Compilation.AssemblyBuilder.BuildAssembly
> (System.Web.VirtualPath virtualPath,
> System.CodeDom.Compiler.CompilerParameters options) [0x00209] in

It looks like the compiler is treating warnings as errors.
Please post your web.config.

Robert



More information about the Mono-list mailing list