这IOC容器中运行的介质的信任
-
18-09-2019 - |
题
嗨我正试图得到一个网站运行的与美,温莎城堡为我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,我可以用我可以下载和工作在媒体的信任?
感谢
解决方案
StructureMap似乎为2.5. SM2.6没有反映。这些的
一个很好的Bingoogleable关键字是 AllowPartiallyTrustedCallersAttribute
其他提示
无耻的插件: 简单的注射器 运行在介质上的信任!
库已经转移,你可以找到的所有新的联系,现在在这里 http://www.castleproject.org/git.html
不隶属于 StackOverflow