Can you explain to me what it means : An unmanaged Solution can be published as a managed Solution
Thanks in advance,
Can you explain to me what it means : An unmanaged Solution can be published as a managed Solution
Thanks in advance,
Publish is a slightly misleading word to use. What you in fact do in dynamics is Export a solution.
With that said, when you export a solution (as a zip file) you have 2 options during the export process. This is what they are and what each mean:
Unmanaged
When you import this into the target all components included in the solution are installed/overwritten. All of the components are editable on the target environment and fully customisable.
Deleting the solution will not remove any of those components, it just removes the solution reference leaving everything still installed. Think of it like an open box. You empty the contents onto the target, but removing the box simply... removes the box.
In theory this sounds like the worse option, but in a standard release process it's actually more favoured amongst the seasoned developers (that I have worked with anyway).
Managed
Is more of a closed box or a package. All the contents are installed and potentially overwritten (you can choose to maintain customisations, but I'm not sold on this feature yet, it's never proven useful to me).
Using managed solutions gives you control over the "customisability" in the target environment. You can choose to completely lock down a component (effectively make it read-only) or you can allow it to be customised.
Deleting the managed solution completely removes all components from the target server (including data in the entities). Hence why I call it a closed box/package. Although, to be honest, I have never successfully managed to delete a larger solution from an environment so not sold on this feature consistently working.
Managed solutions are usually best saved for "products" or "addons".
Also worth noting, you cannot export a solution which was originally imported as a managed solution into that environment.