postal icon indicating copy to clipboard operation
postal copied to clipboard

Mvc5 version ponting to 5.1.0.0

Open Riteshadhikari opened this issue 10 years ago • 4 comments

I have latest greatest web mvc 5.2.3.0 While i try to deploy the code postal is trying to bind the old mvc 5.1.0.0

Could you please look into this asap.

I have a deployment due on friday and this dont work than i am doomed.

Thanks

Riteshadhikari avatar Sep 10 '15 02:09 Riteshadhikari

Have you tried adding/updating the assembly binding redirect in your web.config?

<runtime>
  <assemblyBinding>
  ...
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
      </dependentAssembly>
  ..
  </assemblyBinding>
</runtime>

andrewdavey avatar Sep 10 '15 07:09 andrewdavey

That is already included in my web config. I noticed below on your web config for MVC 5 <package id="Microsoft.AspNet.Mvc" version="5.1.2" targetFramework="net45" /> ...

May be that is what trying to pull up the 5.1.0.0

Riteshadhikari avatar Sep 10 '15 18:09 Riteshadhikari

Hi Andrew, Any updates for this issue.

Thanks

Riteshadhikari avatar Sep 16 '15 13:09 Riteshadhikari

What about this?

quedicesebas avatar Oct 28 '15 17:10 quedicesebas