Проект ASP.NET MVC 3 не компилируется на сервере сборки с установленным ASP.NET MVC 3

У меня возникла странная проблема на моем сервере сборки. Я использую последнюю версию TeamCity на Windows Server 2008 R2. Я использовал установщик веб-платформы для установки ASP.NET MVC на сервере сборки, но моя компиляция все еще не работает с сообщениями о том, что не удается найти System.Web.Mvc.dll . Я убедился, что он находится на диске в ожидаемом месте:

(C: \ Program Files (x86) \ Microsoft ASP.NET \ ASP.NET MVC 3 \ Assemblies)


Вот выбор сообщения:

Controllers\AccountController.cs(7, 18): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) 
Controllers\AccountController.cs(15, 35): error CS0246: The type or namespace name 'Controller' could not be found (are you missing a using directive or an assembly reference?) 
Controllers\HomeController.cs(5, 18): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) 
Controllers\HomeController.cs(9, 32): error CS0246: The type or namespace name 'Controller' could not be found (are you missing a using directive or an assembly reference?) 
Global.asax.cs(5, 18): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) 
Models\AccountModels.cs(8, 18): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) 

Так что мне не хватает?

9
задан Jad 25 January 2015 в 07:55
поделиться