MvcBuildViews ASPNETCOMPILER 错误 ASPRUNTIME:无法映射路径 '/temp'
MvcBuildViews ASPNETCOMPILER error ASPRUNTIME: Failed to map the path '/temp'
我的 Web 项目在 Visual Studio 2017 年构建并运行良好,但我在 TeamCity 中创建项目时遇到问题。
发生 MSBuild 错误 "ASPNETCOMPILER error ASPRUNTIME: Failed to map the path '/temp'"。
如何解决这个问题?
所以,我在 TeamCity 构建中解决了这个问题,我这样使用 MSBUILD 构建器:
目标:重建;发布
构建和测试的命令行参数:/p:WebProjectOutputDir="%system.teamcity.build.workingDir%\Website"
然后您可以使用网站目录作为您的工件。
我的 Web 项目在 Visual Studio 2017 年构建并运行良好,但我在 TeamCity 中创建项目时遇到问题。
发生 MSBuild 错误 "ASPNETCOMPILER error ASPRUNTIME: Failed to map the path '/temp'"。
如何解决这个问题?
所以,我在 TeamCity 构建中解决了这个问题,我这样使用 MSBUILD 构建器:
目标:重建;发布
构建和测试的命令行参数:/p:WebProjectOutputDir="%system.teamcity.build.workingDir%\Website" 然后您可以使用网站目录作为您的工件。