I keep getting this error although I already installed the nuget packet for Microsoft.AspNet.Web.Optimization...
Could not load file or assembly 'System.Web.Optimization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Apparently, the one in the Nuget is a v.1.13 while the one referenced in my solution somewhere is v.1.0.0 ...Problem is, I can't find the way to match these two. I can't find the install for v.1.0.0 or the way to delete or override the 1.0.0 for the 1.1.3.
Any help on this?
Any code you need to see, let me know and I'll update the question.
I was able to fix this issue by adding the following to my web.config:
<configuration>
<runtime>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.0.0" newVersion="1.1.3.0" />
</dependentAssembly>
</runtime>
</configuration>