Hi,
We have upgraded our project from MVC 4 to MVC 5 When i Run this application I am Getting Following EXception
ClientDependencyModule.cs not found
with some error description
An exception of type 'System.TypeAccessException' occurred in ClientDependency.Core.Mvc.dll but was not handled in user code
Additional information: Attempt by security transparent method 'ClientDependency.Core.Mvc.MvcFilter.ValidateCurrentHandler()' to access security critical type 'System.Web.Mvc.MvcHandler' failed.
Assembly 'ClientDependency.Core.Mvc, Version=1.7.0.4, Culture=neutral, PublicKeyToken=null' is marked with the AllowPartiallyTrustedCallersAttribute, and uses the level 2 security transparency model. Level 2 transparency causes all methods in AllowPartiallyTrustedCallers assemblies to become security transparent by default, which may be the cause of this exception.
Thanks in Advance
Syed