[Mono-aspnet-list] Invalid SDK Version Name when compiling Global.asax

Brad Robinson brad.robinson at cognethos.com
Sun Mar 10 13:49:18 UTC 2013


I've just built and installed latest Mono (3.0.7) and XSP on OpenSuse and
while the fastcgi server works, trying to run XSP4, fails with the error
shown below.  Running under Windows with XSP4 works fine with both .NET and
Mono runtimes.

I'm not sure if this is related but I'm running Mono 3 in parallel to Mono
2.10.2, build and installed with --prefix=/opt/mono3. I'm setting the
following environment variables before launching XSP:

MONO_PREFIX=/opt/mono3
export
DYLD_LIBRARY_FALLBACK_PATH=$MONO_PREFIX/lib:$DYLD_LIBRARY_FALLBACK_PATH
export LD_LIBRARY_PATH=$MONO_PREFIX/lib:$LD_LIBRARY_PATH
export PATH=$MONO_PREFIX/bin:$PATH

Launching XSP with the following from the webapp directory:

sudo xsp4 --port 80

And getting the following error:

System.Web.Compilation.CompilationException
CS8026: Invalid sdk version name

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.
Details: CS8026: Invalid sdk version name
Error origin: Compiler
Error source file: ~/Global.asax
Exception stack trace:
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath,
System.CodeDom.Compiler.CompilerParameters options) [0x00000] in <filename
unknown>:0 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp,
Boolean debug) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath
vp, Boolean debug) [0x00000] in <filename unknown>:0 

Any help would be greatly appreciated.



--
View this message in context: http://mono.1490590.n4.nabble.com/Invalid-SDK-Version-Name-when-compiling-Global-asax-tp4658900.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list