Reputation: 195
When I try to build my WEB API project on MS VS 2015 I am getting an erroras shown below.
CS1503 Argument 3: cannot convert from 'System.Web.Mvc.ModelStateDictionary' to 'Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary'
.
Upvotes: 2
Views: 2616
Reputation: 73
In your project you are using System.Web.ModelBinding
so please change it to using System.Web.Mvc
;
Upvotes: 3