We recently came across a cryptic error when trying to deploy a plugin to a CRM solution using the Visual Studio 2010 Solution Template for Dynamcis CRM 2011. The error was:

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.

Having created the solution, written a couple of plugins, and checked everything in to TFS, we tried to "Deploy":

The solution......check out the file "RegisterFile.crmregister" from the CrmPackage project, so the deployment process can write to it, obviously.