I have compilation error when i run my mvc application

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'


  • 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
  • 链接地址: http://www.djcxy.com/p/64294.html

    上一篇: 使用C#检测WAV文件中的音频沉默

    下一篇: 我运行我的mvc应用程序时出现编译错误