alkampfer on February 22nd, 2011

I have a VS2008 project that is being converted to VS2010. This solution has a MsTest test project used to run database test against a Database project. After conversion you need to target the 4.0 framework for the test project, you run the test and you get Microsoft.Build.BuildEngine.InvalidProjectFileException: Microsoft.Build.BuildEngine.InvalidProjectFileException: The expression "HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio9.0VSTSDB@VSTSDBDirectory" cannot be evaluated. [...]

kick it on DotNetKicks.com

Continue reading about Migrate MsTest of database edition to VS2010

One of the coolest feature of Database Projects in VS2008 is the ability to synchronize the database project with a physical instance of SQL server. This is useful if not all people from the team have the ability to run a database project (this is solved in vs2010 where database project are available even in [...]

kick it on DotNetKicks.com

Continue reading about Pay attention to file length in database project after a synchronization

alkampfer on January 4th, 2010

If you want to deploy a database project into a target sql server instance during a tfs 2010 build, you can use with success the basic MsBuildTask, similar to tfs2008. I decided to deploy the database, only if the tests are ok and the build is ok, so I place a condition activity under the [...]

kick it on DotNetKicks.com

Continue reading about Deploy a database project with tfs build 2010

alkampfer on December 30th, 2009

Custom Rule for database projects is one of my favorite extension point of Visual Studio 2008, and I blogged about it some time ago. Yesterday I tried to convert my sample rule for visual studio 2010 beta2, and there are a lot of things that are changed. The result will be a simple rule that [...]

kick it on DotNetKicks.com

Continue reading about Create a SqlRule for database project in vs2010 beta2