durgaprasadkatari / XrmTools.PluginRegistration

XrmToolbox Plugin registration tool using XML file. It generates the register XML file for the existing plugin steps.
GNU General Public License v3.0
2 stars 0 forks source link

The given key was not present in the dictionary. #2

Open sdgmits opened 6 months ago

sdgmits commented 6 months ago

Hello Durga,

I am getting below error while trying to generate registration file for my plugins.

image


Error

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at PluginRegistrationUsingXml.Classes.GenerateRegistrationFile.GeneratePluginOrWorkflowTypes(Boolean isWorkflowActivity, List`1 pluginTypesColl, XmlNode& solution, XmlDocument& xmlDoc, IOrganizationService service)

at PluginRegistrationUsingXml.PluginRegistrationControl.<>c__DisplayClass12_0.b__0(BackgroundWorker worker, DoWorkEventArgs args)

at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

OK

durgaprasadkatari commented 6 months ago

Hi @sdgmits , Thanks for reporting this issue. I'm not able to reproduce this error on my end. May I know which version of the CRM you are using? and any repro steps?

sdgmits commented 6 months ago

Hello Durga,

I am connected to Dataverse Online, and apart from that I am getting this error right after clicking on 'Generate Registration File'. Do I have to give any path or point it to specific folder/solutions to detect plugins from local machine?

durgaprasadkatari commented 6 months ago

Hi Sachin,

Plugins will be detected from the connected organization, and only custom plugins will be added to the generated xml file. Once the file has been generated it will open a popup window to save the file.

On Mon, 26 Feb 2024 at 15:33, Sachin Dev Gupta @.***> wrote:

Hello Durga,

I am connected to Dataverse Online, and apart from that I am getting this error right after clicking on 'Generate Registration File'. Do I have to give any path or point it to specific folder/solutions to detect plugins from local machine?

— Reply to this email directly, view it on GitHub https://github.com/durgaprasadkatari/XrmTools.PluginRegistration/issues/2#issuecomment-1964431565, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPG4K64ZCECOJPECLHFUGLYVSTMTAVCNFSM6AAAAABD2IIKI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGQZTCNJWGU . You are receiving this because you commented.Message ID: @.*** com>

-- Thanks & Regards, Durgaprasad K