0

I want to make an MSBuild script that:

  • can be "built" or "rebuilt" or "cleaned" or "started" by Visual Studio like a normal project
  • doesn't actually compile anything
  • runs some custom tasks (arbitrary to the question)
  • supports Visual Studio firing up IIS Express and the debugger when "started"

I can create a nearly empty web application project and add pre/post-build tasks. However, I'd like to skip the unnecessary compilation steps altogether.

Does anyone know how to accomplish this?

Bryan
  • 1,431
  • 1
  • 17
  • 22

1 Answers1

0

Could you modify the BuildDependsOn property to exclude the "CoreBuild" target? Take an approach similar to this article but delete the "CoreBuild" target rather than adding an extra one?

John Bledsoe
  • 17,142
  • 5
  • 42
  • 59
  • Excellent! I added this line to my project file, and it seems to work: `` Building the project still creates /bin, /obj, and some files in /obj. I wonder how I can skip that. – Bryan Jan 29 '14 at 23:21