NuGet/NuGetGallery — Issue #221: Build-Solution.ps1 only works with .\SQLEXPRESS instance
Author: yeurch
Created: 2011-11-14 00:31:56+00:00
State: open

Regardless of any changes made to the connection string in Website\Web.config, I've found that the Build-Solution.ps1 PowerShell script always tries to connect to the local SQLEXPRESS instance of SQL Server when running UpdateDatabase, causing a build failure if the instance doesn't exist.

Building and running the solution in Visual Studio works fine for me, and creates and initializes the database correctly.