Database project publishing
Hello!
As part of my project I have SQL Server database project (http://msdn.microsoft.com/en-us/data/tools.aspx). So, as part of my build process I want to publish this to SQL Server.
Could you help me how I can do that with AppVeyor?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 14 Oct, 2014 06:16 PM
Hi Sergey,
Database projects is a part of full Visual Studio which is not available on AppVeyor build workers.
2 Posted by sergey on 15 Oct, 2014 05:03 AM
Hi Feodor!
Thanks for you answer.
Any chance it will be available? It's blocking for us now.
3 Posted by sergey on 15 Oct, 2014 09:04 AM
Just made small investigation.
So, we have a chance SSDT will work on AppVeyor's build controllers?
Support Staff 4 Posted by Feodor Fitsner on 16 Oct, 2014 12:38 AM
If SSDT is what you are looking for then, yes, it should be there on build workers.
Give it a try and let me know if there are any issues.
-Feodor
5 Posted by sergey on 17 Oct, 2014 01:12 PM
Well, I can build SSDT project created with VS Express — https://ci.appveyor.com/project/SergeyZwezdin/test-777/build/1.0.1
Is it possible to add option to "Deployment" section where I can setup database deployment?
6 Posted by sergey on 17 Oct, 2014 01:31 PM
Another option could be updating how web deploy works —
http://msdn.microsoft.com/en-us/library/hh550081(v=vs.103).aspx
Support Staff 7 Posted by Feodor Fitsner on 18 Oct, 2014 03:47 AM
Thanks for the link to your toy project.
So, the database project produces
.dacpac
file as an artifact which can be later used to synchronize remote database using Web Deploy. Synchronizing remote SQL Server database directly is not the case because, obviously, SQL Server is not exposed to the world. What you want is to sycn.dacpack
through remote Web Deploy service, either WMSvc or MsDepSvc, kind of:I've got that sample from here: http://www.iis.net/learn/publish/using-web-deploy/dbdacfx-provider-...
Is this what you are looking for?
8 Posted by sergey on 22 Oct, 2014 12:20 PM
Seems it won't help :-(
I'm still in investigating.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.