Could not load file or assembly System.Web.Http, Version=5.2.2.0

Set Copy Local to true in the properties for the System.Web.Http and System.Web.Http.WebHost assemblies and redeploy the package. If this doesn’t solve your problem completely try reinstalling the NuGet package. This will hopefully correct broken dependencies. From the package management console, run this command: Update-Package Microsoft.AspNet.WebApi -reinstall Make sure to install System.Web.Http.WebHost as well.

Adding a bindingRedirect to a .Net Standard library

Binding redirects are a .NET framework concept, there are no binding redirects on .NET Standard and .NET Core. However, an application (the actual .NET Framework or .NET Core application) need to resolve the files to be used. On .NET Core, this is done by generating a deps.json file based on the build input and a … Read more

Do binding redirects in app.config for class libraries do anything?

I have multiple applications with similar setup – Web application referencing multiple library projects each having their own nuget packages etc., Based on my personal experience the assembly bindings in the library projects are not considered during run time. The bindings specified web or app config in the root application (web/console) is that only matters. … Read more

ASP.NET MVC security patch to version 3.0.0.1 breaks build [duplicate]

I fixed this by: Removing the MVC reference and add the correct reference to the project. Changing the Copy Local property of the reference to true. Update the bindingRedirect setting in web.config: web.config runtime section: <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”System.Web.Mvc” publicKeyToken=”31bf3856ad364e35″ /> <bindingRedirect oldVersion=”1.0.0.0-3.0.0.0″ newVersion=”3.0.0.1″ /> </dependentAssembly> … Changing the Copy Local setting will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)