I got this error today. whilst trying to deploy my updated CRM 2011 plugin
Error 1 Error registering plugins and/or workflows. The resource string “ErrorSerializingRegFile” for the “RegisterPlugin” task cannot be found. Confirm that the resource name “ErrorSerializingRegFile” is correctly spelled, and the resource exists in the task’s assembly. C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.12.targets 176 4 CrmPackage
This is one of those frustrating errors because to my knowledge nothing had really changed. This forum post was very useful and set me off in the right direction.
Now I have had this problem before and will no doubt have this problem again in the future. The reason for the problem in this case was because RegisterFile.crmregister file was read only. When you click deploy visual studio will try and write to this file and was failing because it couldn’t write to it.
So to resolve the problem you need to check out or make editible the RegisterFile.crmregister file. Deploy again and it will hopefully work without any problems
Yeap that was it. Thank you!!
LikeLike
Thanks. That fixed it.
LikeLike
Thanks for this 😉
LikeLike