Issue Microsoft.AspNet.WebApi.Cors -Version 5.2.2

After adding
Microsoft.AspNet.WebApi.Cors my version was 5.2.2
I got this error
The type initializer for 'System.Web.Http.GlobalConfiguration' threw an exception.

Finally found the problem.
What I had to do was to reinstall the Microsoft.AspNet.WebApi

Comments

Popular posts from this blog

Setup Test automation with Selenium and Ruby

How to present data in DataGridView with objects collection in C#

Free PDF generator library for C#