What property is used for connection string by dbunit test when deploying database?
-
Wednesday, August 15, 2012 6:47 PM
When deploying a database using msbuild, I use the targetconnectionstring property.
Apparently, dbunit test does not use this property to deploy the database. Anybody has an idea what I should look for to get the database server in dbproj when the database is deployed via a db unit test?
All Replies
-
Wednesday, August 15, 2012 7:44 PM
Got it, it is $(FinalTargetConnectionString) which I found in the Microsoft.Data.Schema.TSqlTasks.targets. :)
It is only filled at a certain point so when it is refered to has an impact.
-
Thursday, August 16, 2012 1:35 AMModerator
Hi Antoine F,
Glad to hear you have had your issue resolved. And thanks for sharing us your solution here, it will benefit to other community members who encountered the similar issue.
Thanks.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
-
Thursday, August 16, 2012 5:28 PM
Thank you Vicky,
I must admit I am impressed by the quantity and the quality of your follow ups.

