Could not load assembly System.Web.Abstractions

пятница, 24 апреля 2009 г.,

При запуске ASP.NET MVC проекта (кажется после установки Code Contracts) получил сообщение:
Server Error in '/' Application. Configuration Error. Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'System.Web.Abstractions...'.
В web.config у System.Web.Abstractions обнаружил Version=0.0.0.0, а также System.Web.Mvc не оказалось на месте ... - мистика :)
В итоге, содержимое web.config заменил на взятое из нового проекта, и все заработало.
А еще не помешает: в контекстном меню Solution'а выбрать Clean Solution, и затем Rebuild Solution.

Комментариев нет: