asp.net mvc - Having trouble building an MVC application with MSBuild -
i've installed cruisecontrol on staging server , i'm trying compile solution using msbuild. 1 of projects mvc web application running .net 4.5. have, of course, installed .net 4.5 on machine. have deployed site staging site on same server, , runs fine.
... when try build on command line msbuild project.csproj following error:
(corecompile target) -> controllers\admincontroller.cs(12,36): error cs0246: type or namespace name 'controller' not found (are missing using directive or assembly reference?) [f:\cruisecontrol\workingdirectory\project.csproj]
it seems msbuild can't see of mvc objects such controller. they're on machine, , asp.net can see them or website wouldn't run.
i'm running msbuild c:\windows\microsoft.net\framework64\v4.0.30319 directory.
it seems need install mvc on build server. had been under impression part of framework now, guess it's still separate install.
Comments
Post a Comment