Orchard 1.10.2 Mono install

Topics: Administration, Core
Feb 6 at 2:03 PM
Hi, everybody! I need to compile Orchard for Mono. I used Orchard 1.10.2, but I'm getting an error while starting it: System.Web.Caching not found. Breakpoints do not work in MonoDevelop (I don't know why). I use latest Mono built from sources and NGINX with XSP-server.

Do you have any suggestions what the problem is?


Error message: System.Web.Compilation.CompilationException
CS0234: The type or namespace name Caching' does not exist in the namespaceSystem.Web'. Are you missing an assembly reference?

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

Details: CS0234: The type or namespace name Caching' does not exist in the namespaceSystem.Web'. Are you missing an assembly reference?

Error origin: Compiler

Error source file: /tmp/root-temp-aspnet-0/84b9375b/App_global.asax_532bf0d2_0.cs
Exception stack trace:
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00365] in /run/build/mono/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:853 at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] in /run/build/mono/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:731 at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00264] in /run/build/mono/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:826 at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x0011c] in /run/build/mono/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:451
Error source context:

Error lines: 20, 21, 22, 23, 24, 25, 26, 37, 47
18: using System.Text.RegularExpressions;
19: using System.Web;
20: using System.Web.Caching;
21: using System.Web.SessionState;
22: using System.Web.Security;
Full error source code: (click to show):
Compiler command line (click to show):
Version Information: 4.6.2 ((HEAD/ac9e222 Thu Jan 12 10:04:22 UTC 2017); ASP.NET Version: 4.0.30319.42000