Click here to Skip to main content
15,886,069 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Could not load file or assembly 'System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Posted
Updated 30-Apr-15 21:27pm
v2
Comments
Sergey Alexandrovich Kryukov 1-May-15 3:28am    
Not a question, not clear. You don't provide any information showing how you are trying to use some non-existing assembly...
—SA

1 solution

I fixed this by reinstalling the NuGet package, which corrects broken dependencies. From the package manager, run Update-Package Microsoft.AspNet.WebApi -reinstall.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900