1

I'm running Mono 3.0.6 on CentOS 6. I've published an ASP.NET 4.0/MVC4 website on it, and after ironing out some compatibility issues, I've met a wall. Whenever I try to access the application, I get this error:

    System.IO.FileNotFoundException
Could not load file or assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.

Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): mscorlib.

I think this is due to the fact that Mono uses EF6, but this is still Alpha and so Microsoft bundles EF5. What would be the most elegant, least 'hackish' way of fixing this error?

4

1 回答 1

0

您需要弄清楚什么是未找到的文件

为此,您可以使用 env varsMONO_LOG_MASK="asm"MONO_LOG_LEVEL="debug"在此处解释。

于 2013-03-28T08:03:45.990 回答