1
votes

I add Nuget Package Install-Package MvcSiteMapProvider.MVC4 & Install-Package MvcSiteMapProvider.MVC3

Compiler Error Message:

CS1705: Assembly 'MvcSiteMapProvider, Version=4.6.18.0, Culture=neutral, PublicKeyToken=1923abe4657913cc' uses 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

1
Your Package required System.Web.MVC Version 4.0 but in your Projekt there is just version 3.0. You can check if you find an older Version of the Package which supports Version 3.0 of mvc. Best regards, BeatBoot750

1 Answers

1
votes
  • Right click project
  • Click "Unload"
  • Right click project
  • Click "Edit"
  • Search for System.Web.MVC
  • Update version to 4.0.0.0
  • Save
  • Reload Project
  • Build