5

Is it possible to generate a Sitecore zip installation package from a TDS project in a Visual Studio solution? Ideally, but not strictly, in a way that could run on a CI server.

3
  • What's more important to your question, that the CI server can get updated, or that the format of the package is specifically a zip package? I ask as TDS generates .update packages as standard and these can be installed as part of a CI process.
    – Kasaku
    Commented Oct 26, 2016 at 14:24
  • I'm aware of the update package generation feature of TDS, so my main question is can a zip package be created instead, or by some other means? Commented Oct 26, 2016 at 15:13
  • Can we run some other VS solution after TDS process completes - we could use the code mentioned here to generate the zip package -webdatasource.com/2011/08/…
    – Abhay Dhar
    Commented Oct 28, 2016 at 5:01

2 Answers 2

2

I don't think there is a way to create a standard .zip package from within Visual Studio/TDS but you can do that with Sitecore Rocks and there is an example here by Trevor Campbell: https://community.sitecore.net/technical_blogs/b/trevor_campbell/posts/28-days-of-sitecore-rocks-package-creation. As seen in your answer to Joe, if that's all the functionality you really need, then that should be all you need to create a package easily from within Visual Studio. You can get Sitecore Rocks by going into Visual Studio and going to Tools--> Extensions and Updates --> Select Online --> Search for Sitecore Rocks. It should be the first selection in the list.

2
  • Can you automate this process so that the package is generated automatically after a build in VS ? Commented Oct 27, 2016 at 14:04
  • Unfortunately, that's where my knowledge ends on making packages in Sitecore Rocks. You might be able to run a build script that may do that similar to how you would do that with TDS, but you would need to look into that. Commented Oct 28, 2016 at 15:44
0

I use a mixture of Sitecore.Ship, TDS Update Package generation, and CURL to achieve CD from my CI servers.

Is there any reason why you want a zip package over an update package?

3
  • I want a zip package as I am building a marketplace module and it seems to be the convention that they are installed by a regular zip package. Commented Oct 26, 2016 at 20:19
  • You may want to look at using PSE. You could expose an endpoint that runs a PS script that generates a zip package. You would, of course, need to have your solution up and running on a Sitecore installation to do this.
    – jdylanmc
    Commented Oct 26, 2016 at 20:20
  • Could I do that from within Visual Studio? Commented Oct 26, 2016 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.