[Mono-list] Problem with WEB-Page
David das Neves
godofolos at gmx.de
Fri Sep 25 02:34:45 EDT 2009
I thank you for the hint where to search. I tried for my own and found the
solution. I had to reduce the warning level which
was normally set to 4. Interesting is though why he did throw an exception
but the flag <providerOption name="WarnAsError" value="false"/> was set to
false.
Thank you.
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
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list