Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'and it was not until I solved this error by commenting the AssemblyKeyFile line in the AssemblyInfo.cs file that the refactoring ( encapsulating a field ) started to work once again. You can see more details about this warning here:
http://msdn.microsoft.com/en-us/library/xh3fc3x0(v=VS.80).aspx.
The error is confusing since it says that one of the projects in the solution does not currently build, which is false since this is solely a warning.