In VS2010 this is: Test/Edit Test Settings/local, then in the list, select "Deployment", check the "Enable..." box and add the file(s). – Marcel Jun 16 '10 at 12:54
http://technet.microsoft.com/zh-cn/library/cc716756.aspx
|DataDirectory| 解析为“<应用程序根目录>
http://stackoverflow.com/questions/13275054/ef5-cannot-attach-the-file-0-as-database-1
DataException->EntityException->SqlException:
Cannot attach the file ‘{0}' as database '{1}'
Alright. I have no clue what's so great about the clunky LocalDB. Anyway my solution was simple, I changed to use local server: I changed the
To:
|