-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Octopack - should be able to be added to Database Projects #1594
Comments
Hi @dazinator We're pondering better dacpac support at the moment, for the time being though maybe this will help http://swoogan.blogspot.com.au/2015/04/deploying-dacpacs-with-octopus-deploy.html |
@dazinator Octopack is opensource and we accept PRs :) Closing this out as it is not on our current planned changes. |
|
I believe the issue lies in the fact you can't add Nuget packages period to database projects inside of visual studio. |
@bova80 - You are right - i've just discovered this. Any creative ideas for a work around? I'm thinking.. a solution level nuget package, explicitly for database projects something like Obviously this isn't the best, but I can't think of any nicer workaround / solution. Can you? |
|
What you could do is just have a generic folder where octopack lives and reference that and then when it comes time to update you just drop the new version in and don't have to use a version number. So where you have the import project just get rid of the version number in the folder name altogether and have a static folder for it. Hope that makes sense. |
Yep that makes sense, and I can easily do that and then my situation will be sorted. But i'm trying to think of a solution that is entirely automated, thus making it super trivial / less hassle for anyone else who also wnats to use octopack with database projects. I think a solution level NuGet package would work in the way you described, i.e it would live in one place, and be referenced centrally from individual database projects, however it would have the following benefits over manually creating this setup:
If I get some time, I'll continue down this route with a PR |
PR Submitted. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately. |
I hate database projects - DbUp is my preference.
But unfortunately, I have to work with them - because I haven't yet got around to convincing everyone in my team that DbUp is better :)
At the moment, I can manually add the targets to the .sqlproj file like this:
OctoPack then runs and packages things up nicely.
The problem is, when I update OctoPack through NuGet, I have to remember to manually update these targets in the .sqlproj files.
Can't Octopack just support this project type?
If it did, I'd gladly contribute a step template to the library for deploying the subsequent DacPac that these NuGet packages end up containing..
The text was updated successfully, but these errors were encountered: