views:

431

answers:

2

I'm looking for a way to clean my solution as well as stop the localhost development server with each build in VS2008. Any ideas of how to accomplish this?

edit: I apologize for not being clear. I am wanting to include this in a build event so that I don't have to manually do each task with each rebuild. Also, a call to clear the cached files in IE?

A: 

Can't you use Build->Clean Solution?

Here's a link that discusses about this.

By using Clean Solution all the files are cleared. And by using Rebuild Solution all the files inside your bin folder are cleared, and new files generated.

Ngu Soon Hui
A: 

Build -> Rebuild solution (clean + Build )

     or

Build -> Clean Solution

anishmarokey