views:

211

answers:

1

I'm trying to get the build automation going for our TFS solution. The solution contains multiple class libraries, and one web site (not a web project). Everything seems to build fine, except for the web site. I'm getting the following error:

ASPNETCOMPILER : error ASPRUNTIME: The target directory is not empty, and does not appear to contain a previously compiled application. Please delete it manually, or choose a different target.

I'm building the solution for Release and Mixed Platforms. The bin folder for the web site is not checked into TFS, and it's not read-only. Many of the class libraries get compiled into the web bin folder, I don't know if that is what's causing the problem. I am a beginner at this, so I might not have configured something right. Any ideas? Thank you.

A: 

I got it working by installing Web Deployment Projects and creating a web deployment project for my web site. So that's what was missing. :) I only wish the error message could have been more helpful.

gracejz