-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error #43
Comments
Hi @starkemc thanks for reporting this. I'll take a look. |
I solved it by using a newer version of System.Web.Http.SelfHost.dll (v5.0), which I downloaded from here |
You can solve it by installilng https://www.nuget.org/packages/AspNetWebApi.SelfHost package. |
Hi, forked this project recently and getting this error. I have tried what @alex440440 suggested. Still no luck Please help, thanks. |
Don't have the project now... As a general routine I'd suggest to: |
+1 same issue |
The suggestion by Alex440440 solved it for me. |
After using Self Host 5.2.3 package it works for me. |
I get this exception when trying to run the project.
An unhandled exception of type 'System.TypeLoadException' occurred in mscorlib.dll
Additional information: Inheritance security rules violated by type: 'System.Web.Http.SelfHost.HttpSelfHostConfiguration'. Derived types must either match the security accessibility of the base type or be less accessible.
The text was updated successfully, but these errors were encountered: