我们有一个 .NET 3.5/ASP.NET MVC 1 解决方案。在开发人员机器上一切正常,但在构建服务器上开始构建之后,我们得到:
“仅允许直接在包含内容控件的内容页面中使用内容控件。”
例如
<error code="ASPPARSE" file="/temp/Views/Account/ChangePasswordSuccess.aspx" line="4" column="0" timeStamp="10/10/2011 01:25:46">
<![CDATA[Only Content controls are allowed directly in a content page that contains Content controls.]]>
</error>
相同的 ASP.NET MVC,相同的 .NET。构建服务器上未安装Visual Studio 2008 。
任何想法?
环境
- 构建服务器:CC.NET 1.6
- 操作系统:Windows 2003 R2 SP2
- IIS 6