小编Joe*_*ley的帖子

ASP.NET MVC 3 Project将无法在安装了ASP.NET MVC 3的构建服务器上进行编译

我的构建服务器上有一个奇怪的问题.我在Windows Server 2008 R2上使用最新版本的TeamCity.我使用Web平台安装程序在构建服务器上安装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 …
Run Code Online (Sandbox Code Playgroud)

teamcity asp.net-mvc-3

9
推荐指数
1
解决办法
4274
查看次数

标签 统计

asp.net-mvc-3 ×1

teamcity ×1