Skuli
Skuli

Reputation: 2067

How to backup a dll saved to database in the Plugin Registration Tool for Microsoft CRM 2011

I need to update an assembly. But I don't have the old assembly anywhere. If something goes wrong I have no way of reverting back to the old assembly.

Upvotes: 2

Views: 1870

Answers (2)

Skuli
Skuli

Reputation: 2067

This solves it:

You can export it as a solution:

1) Create a new solution named 'Plugin Backup' or something (Settings->Solutions->New)

2) Add the plugin (Plugin Assemblies -> Add Existing)

3) Export the solution as an Unmanaged solution (Export Solution)

This will create a solution zip that contains your dll, which you can then re-import using 'Import Solution' if you need to restore to a previous version.

I got the answer from Scott Durow on http://social.microsoft.com/Forums/en/crmdevelopment

Upvotes: 6

Greg Owens
Greg Owens

Reputation: 3878

Assuming that your plug-in is stored in the database and not on disk, this tool will do the job. Although it says it is for CRM 4.0 I'm pretty sure that it works with CRM 2011 just fine.

Upvotes: 0

Related Questions