Geeks With Blogs

The Life and Times of a Dev Yes, we're really that weird

In part 1, I showed a complicated mechanism for performing a clean database build.

There’s an easier way.  The easier way is to use the msbuild extension tasks out on codeplex.  While you’ll still need to forcibly take the database offline (ALTER DATABASE [mydb] SET OFFLINE WITH ROLLBACK IMMEDIATE), the other msbuild tasks more easily allow you to create and delete the database.  Eventually, I’ll post an example. Smile

Technorati Tags:
Posted on Friday, December 31, 2010 10:41 AM | Back to top

Comments on this post: Performing a clean database build with MSBuild part 2

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Robert May | Powered by: