If you carefully read the fusion magazine that you published, it will provide you with the necessary information. I will parse it to important lines.
LOG: Attempting download of new URL file:
The application is looking for System.Web.Mvc.dll. He allowed it in the bin folder of your web application: C: \ Users \ joaki \ Source \ Repos \ 2015-TimeAdministration \ Source \ V2 \ SalesWeb2 \ TimeReportV2 \ bin \ System.Web.Mvc.DLL
Then it checks if there is any assembly binding redirection for this dll in your web.config and finds one:
LOG: Using application configuration file: C:\Users\joaki\Source\Repos\2015-TimeAdministration\Source\V2\SalesWeb2\TimeReportV2\web.config LOG: Redirect found in application configuration file: 4.0.0.1 redirected to 5.2.3.0. LOG: Post-policy reference: System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
If you look in your web.config, there will be something like this:
<dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" /> </dependentAssembly>
Then it checks that the System.Web.Mvc.dll application found in the bin folder is the same version:
WRN: Comparing the assembly name resulted in the mismatch: Major Version ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
He complains that the main version is not consistent. This is the first number in the version with 4 numbers. If you go back to the log, this is because System.Web.Mvc.dll in the bin folder is actually version 4 .0.0.1 and not the desired 5 . 2.3.0:
LOG: Redirect found in application configuration file: 4.0.0.1 redirected to 5.2.3.0.
You need to check your solution to make sure that all projects that reference System.Web.Mvc are looking for the same latest version. If you look at the warnings in the error list, you will most likely find warnings about version mismatches for this assembly.
Link Updates
One solution is to right-click on Solution in Visual Studio, select "Manage NuGet Packages for Solution ..." and try updating projects to use the same version of System.Web.Mvc.
It will also help if you clear bin folders beforehand.
Instead, you can use the package manager console to update the package in your solution:
Update-Package Microsoft.AspNet.Mvc -version 5.2.3.0