Question

Hi I am trying to get a website running with Mosso that has Castle Windsor as my IOC, however I am getting the following error.

[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

My questions are

  1. Does Castle Windsor run under medium trust?
  2. Can I download the DLL's without having to recompile with nant? (as I don't have this set up and don't know nant at all)
  3. Or is there another IOC that I can use that I can download and works in Medium Trust?

Thanks

Was it helpful?

Solution

OTHER TIPS

Shameless plug: Simple Injector runs in Medium Trust!

The repository has moved, you can find all new links here now http://www.castleproject.org/git.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top