We tried to set the [assembly: SecurityRules(SecurityRuleSet.Level1)] attribute in both the Service library and Windows application, but we are still hitting the TypeLoadException. We are using the Service library in our MVC Web application and there's no such exception thrown (not even first-chance exception).
Solution
Run the application without debug.
No comments:
Post a Comment