[Mono-aspnet-list] CS1576 after upgrade to Ubuntu 14.04.1

lordbah jve24 at lordbah.com
Thu Aug 21 03:22:08 UTC 2014


This problem is driving me insane. I've had an ASP.NET web site on Ubuntu
13.10, working just fine. Over the weekend I upgraded to 14.04.1, and now
many pages don't work.

System.Web.Compilation.CompilationException
CS1576: The line number specified for #line directive is missing or invalid

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.
Details: CS1576: The line number specified for #line directive is missing or
invalid
Error origin: Compiler
Error source file: /results/weekly.aspx
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 

I don't use #line anywhere at all.

Sometimes if I restart apache one page will work once, but other pages still
fail. After another restart another page might work but the one that worked
before will fail now.

I upgraded Mono from 3.2.8 to 3.6.0 but the problem persists.

Does anyone know what this is, or know how I can find out WTF the compiler
is choking on, or what it is trying to do at the time?




--
View this message in context: http://mono.1490590.n4.nabble.com/CS1576-after-upgrade-to-Ubuntu-14-04-1-tp4663599.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list