我发现了很多关于此的问题/博客文章,但我还没有看到一个可重复的让 MVC 站点在 Mono 上运行的方法。经过数小时的尝试,我也无法让 MVC 站点在 Mono 上运行。
我可以启动所需的任何发行版的任何版本,并且可以使用 MVC3 或 MVC4。我更喜欢使用 nginx,但也可以使用 mod_mono。我可以从源代码构建或使用包。
谁能一步一步让 MVC 在 Mono 上运行?
示例错误
这是我尝试在 fastcgi 或 xsp 上运行准系统应用程序时得到的:
Missing method .ctor in assembly
/tmp/root-temp-aspnet-0/eaee30a1/assembly/shadow/bef1c25f
/a2978c47_1c664e18_00000001/System.Web.Providers.dll,
type System.Data.Objects.DataClasses.EdmRelationshipAttribute
Can't find custom attr constructor image:
/tmp/root-temp-aspnet-0/eaee30a1/assembly/shadow/bef1c25f
/a2978c47_1c664e18_00000001/System.Web.Providers.dll mtoken: 0x0a000012