嗨,我正在尝试使用 Mosso 运行一个以温莎城堡作为我的 IOC 的网站,但是我收到以下错误。
[SecurityException: That assembly does not allow partially trusted callers.]
GoldMine.WindsorControllerFactory..ctor() in WindsorControllerFactory.cs:33
GoldMine.MvcApplication.Application_Start() in Global.asax.cs:70
我的问题是
- 温莎城堡是否在中等信任下运行?
- 我可以下载 DLL 而无需使用 nant 重新编译吗?(因为我没有这个设置并且根本不知道 nant)
- 或者是否有另一个我可以使用的 IOC 可以下载并在 Medium Trust 中工作?
谢谢