Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Roger Withnell 128 posts 613 karma points
    Mar 24, 2016 @ 17:48
    Roger Withnell
    0

    Consider app.config remapping of assembly warnings after upgrade

    Upgraded from 7.2.8 to 7.4.2 and now have several warnings after build. For example, the first is: Consider app.config remapping of assembly "System.Web.Razor, Culture=neutral, 1> PublicKeyToken=31bf3856ad364e35" from Version "2.0.0.0" [C:\Program Files (x 1> 86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies\System.Web.Razor.dll] 1> to Version "3.0.0.0" [C:\Users\roger_000\Documents\Visual Studio 2013\Projec 1> ts\UmbracoWebsites\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web 1> .Razor.dll] to solve conflict and get rid of warning.

    Could you please advise what I do next?

    Your help would be much appreciated.

    Thanking you in anticipation.

    Roger

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Mar 26, 2016 @ 16:07
    Sebastiaan Janssen
    100

    Sounds like your web.config wasn't updated with the binding redirects to MCV 5.

    There's some details here: https://umbraco.com/follow-us/blog-archive/2015/7/29/upgrading-your-umbraco-site-to-mvc5-and-webapi2/

    I would mostly just do a winmerge/beyondcompare of a fresh 7.4.2 web.config against your current web.config, some more details of that here: https://umbraco.com/follow-us/blog-archive/2016/2/29/how-to-diagnose-umbraco-upgrade-problems/

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies