I was unable to find an answer on the forums for this problem. I am trying to rewrite our plugins following our upgrade from CRM 4 to CRM 2011. I am using the Plugin Registration Tool from the SDK. I am unable to register plugins as they always fail to load in this tool. I have attempted to use ILMerge as I have read elsewhere. I merged my plugin dll with Microsoft.Xrm.Sdk.dll. The tool then complained that it could not load System.Runtime.Serialization.dll. I merged this dll as well. The tool then complained that it could not find System.dll. I merged this as well and was met with a TypeLoadException on System.Runtime.Serializatio.DataContractResolver. This is when I determined that I was embarked upon a fool's errand. Is CRM 2011 plugin developpment hopelessly broken? If not, why does it not work without having to jump through a maze of flaming loops? Does anyone have any guidance that will steer a poor hapless soul through this mess?
Thanks in advance.