【问题标题】:MvcBuildViews ASPNETCOMPILER error ASPRUNTIME: Failed to map the path '/temp'MvcBuildViews ASPNETCOMPILER 错误 ASPRUNTIME: 无法映射路径 '/temp'
【发布时间】:2018-05-29 11:00:03
【问题描述】:

我的 Web 项目在 Visual Studio 2017 下构建并运行良好,但在 TeamCity 中创建项目时遇到问题。

发生 MSBuild 错误“ASPNETCOMPILER 错误 ASPRUNTIME: 无法映射路径 '/temp'”。

如何解决这个问题?

【问题讨论】:

    标签: msbuild teamcity


    【解决方案1】:

    所以,我在 TeamCity 构建中解决了这个问题,我像这样使用 MSBUILD 构建器:

    目标:重建;发布

    构建和测试的命令行参数:/p:WebProjectOutputDir="%system.teamcity.build.workingDir%\Website" 然后,您可以将网站目录用作您的工件。

    【讨论】:

      猜你喜欢
      • 2011-04-18
      • 1970-01-01
      • 2014-10-15
      • 1970-01-01
      • 1970-01-01
      • 2014-12-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多