I’m receiving the below error, when I’m trying to build a solution file through CruiseControl and MSBuild version 4
ASPNETCOMPILER : error ASPRUNTIME: The precompilation target directory
Where does it come from and how to avoid it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to double check the precompilation directory location.
You need either:
ASPNETCOMPILER: errorASPRUNTIME: Target Directory not empty“)Debug.AspNetCompiler.TargetPathorRelease.AspNetCompiler.TargetPathin the solution file) is writable (for instance, you cannot write in the root directory of a dynamic view in ClearCase:M:\MyView)As illustrated in “Trying to Build and Publish Asp.net website from command line using aspnet_compiler“, the error message is usually more complete, similar to:
From the blog post “Getting Started with CruiseControl.NET“: