Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: Ninject [1303]

$
0
0
Hi,

I had a WebAPI project running and wanted to add the CORS feature but after I used the nugent package manager to install the CORS feature I now am getting a Ninject error.

ERROR:
Attempt by method 'System.Web.Http.GlobalConfiguration..cctor()' to access field 'System.Web.Http.GlobalConfiguration.CS$<>9__CachedAnonymousMethodDelegate2' failed."}


Could you please advise why this would be so?
Comments: We built a repro project, and we don't see this happening. My guess is that you have some assemblies that haven't updated to 5.0, alternatively verify you are using the ninject-mvc3 package.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>