错误代码MSB3191巡航控制构建

时间:2012-08-07 11:20:46

标签: msbuild cruisecontrol.net

当我尝试通过巡航控制来构建它时,我收到以下错误:code=MSB3191

更多详情

<target name="Clean" startTime="08/07/2012 16:35:54" elapsedTime="00:00:00" elapsedSeconds="0" success="false">
      <project name="Clean" file="M:\ye66_Cruise_01_00_int\ISOS_DEMO_COMP\Cruise\RPTSolution\RPTSolution\RPTSolution.csproj" startTime="08/07/2012 16:35:54" elapsedTime="00:00:00" elapsedSeconds="0" success="false">
        <target name="CoreClean" startTime="08/07/2012 16:35:54" elapsedTime="00:00:00" elapsedSeconds="0" success="false">
          <message level="normal"><![CDATA[Creating directory "obj\Debug\".]]></message>
          <error code="MSB3191" file="C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" line="3626" column="9" timeStamp="08/07/2012 16:35:54"><![CDATA[Unable to create directory "obj\Debug\". Access to the path 'obj\Debug\' is denied.]]></error>
        </target>
      </project>
 </target>

1 个答案:

答案 0 :(得分:1)

这是Msbuild的错误。 听起来像Msbuild无法创建目录,这可能是一个权限问题。

如果查看项目目录,ccservice帐户是否正在运行,因为它有权创建文件和目录?