Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Software Developer Toolkit and Managed Solutions

Posted on by 265

We've been working with the software developer toolkit for a while now, and have developed a fully automated VSTS deployment pipeline working for unmanaged solutions which are kept in the customisations project in the Visual studio solution.

The process goes like this:

  • Import customisations from CRM
  • Check customisations into VSTS
  • Check in triggers an automated build of the project, which creates a solution file using the solution packager
  • Solution then deployed as part of the next release

However, we've not been able to come across a way to do the same for any of our managed solutions.

I think the problem comes down to the fact that when you import customisations from CRM, you have no option to select a managed solution for export.

You can amend the build script so that it builds a managed solution, but the customisations project solution is always imported as unmanaged, so even if you hack the solution file to make it managed, it will get overwritten the next time you import customisations from CRM. So the built solution file always ends up as unmanaged.

Any ideas how to resolve this?

*This post is locked for comments

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Software Developer Toolkit and Managed Solutions

    Fundamentally, when using managed solutions, the only deployment option is from unmanaged to managed. In practise this means that you need one master environment for the unmanaged updates, from which you would deploy a managed solution to production (and any other environments, e.g. UAT, that should also get the managed solution). So, you can use whatever processes you want to update the master environment for unmanaged solutions, using unmanaged solutions throughout, and then I'd use a separate process to deploy the managed solution(s) from here to production/UAT

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans