ASPNETCOMPILER error ASPRUNTIME: Failed to map the path '/temp'

Hi, 

My web project builds and works fine under Visual Studio 2017, but I 'm having trouble creating a project in TeamCity. 

Error "ASPNETCOMPILER error ASPRUNTIME: Failed to map the path '/temp'" occured.

Could you answer my question, how to solve this problem?

 

0
1 comment
Avatar
Permanently deleted user

So, I solved this problem in the TeamCity build, I use the MSBUILD builder like this:

Targets: Rebuild;Publish

Command line parameters for build and tests: /p:WebProjectOutputDir="%system.teamcity.build.workingDir%\Website"

You can then use the Website directory as your artifact.

0

Please sign in to leave a comment.