When trying to deploy my CRM plugin assymbly with the XRM Toolbox, I experienced the following error.

 

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.

 

errorRegisteringPlugin

After searching the internet I found the following forum post. It seems like the problem is coming from TFS. The Registerfile is read-only, but TFS tries to write to the file when deploying the solution. We can easily fix this. Just right click the “RegisterFile.crmregister” and choose “Check out for Edit…“.

 

checkoutforedit

 

Hope this small post helped you to stay productive.

Leave a Reply

Your email address will not be published. Required fields are marked *