[Mono-list] App_GlobalResources

Randall Smith randall at tnr.cc
Wed Apr 1 15:22:21 EDT 2009


I'm attempting to run an application written for ASP.NET 2.0 using mono
via xsp2.  I built from a recent tarballs mono-20090306.tar.bz2 and
xsp-2.4.tar.bz2.

When I try to access the index page, I get the error:

Compilation Error

Description: Error compiling a resource required to service this
request. Review your source file and modify it to fix this error.

Compiler Error Message: CS0103: The name `Resources' does not exist in
the current context

Not being an ASP.NET developer, I poked around and this is what I found.
  Index.aspx.cs has references to Resources in the form
"Resources.strings.CCS_IncorrectFormat".  The directory
App_GlobalResources contains the files strings.resources and strings.txt
and strings.txt contains the line:

CCS_IncorrectFormat=The value in field {0} is not valid. Use the
following format: {1}.

So it would seem to me that the the information in App_GlobalResources
is supposed to go into a global context, but is not.

Any help is appreciated.





More information about the Mono-list mailing list