Using powershell to build a project

Jun 30, 2011 at 5:04 PM

I've written a Powershell script to create a new revision of a Solution in Visual Studio. It updates assembly info, builds the new revision, creates a new tag in SVN, etc. 

The problem is that when I try to run this script, it always debugs it, which won't allow me to build unless I stop debugging. I've tried to find other ways to run the script, but everything I've tried loses EnvDTE. Is there a way to do this?