[Mono-aspnet-list] Resources and App_GlobalResources

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Fri Apr 10 18:39:01 EDT 2009


On Fri, 2009-04-10 at 16:28 -0500, Randall Smith wrote:
> I'm not a .net developer and I'm trying to get a .net app that was 
> written with codecharge to run on mono.
> 
> mono 1.9.1
> running: MONO_OPTIONS=--debug xsp2
> 
> Description: Error compiling a resource required to service this 
> request. Review your source file and modify it to fix this error.
> 
> Compiler Error Message: 
> /tmp/randall-temp-aspnet-0/7f146cd5/App_Web_511fae26_3.cs(442,50) : 
> error CS0103: The name `Resources' does not exist in the current context
> /tmp/randall-temp-aspnet-0/7f146cd5/App_Web_511fae26_3.cs(447,51) : 
> error CS0103: The name `Resources' does not exist in the current context
> /tmp/randall-temp-aspnet-0/7f146cd5/App_Web_511fae26_3.cs(452,49) : 
> error CS0103: The name `Resources' does not exist in the current context
> 
> My understanding of asp.net 2 is that Resources should be available and 
> items in App_GlobalResources should be accessible like:

Those resources are supposed to be compiled into assemblies (by VS on
windows, by you on mono) and the resulting dll has to go in the bin
directory. Looks like that dll is not there.

Also the version of mono that you're running is quite old and might not
have that feature working.

-Gonzalo




More information about the Mono-aspnet-list mailing list