Adding those dependent assemblies is NOT necessary and will only cause further problems down the road. You most likely have a wrong reference in your project. Take a look in the file system and find out what version of the DLLs are in your project. Navigate to:
and look at any of the
CMS.xxx.dll files properties for the version number. You most likely have the wrong version dll referenced in your project. Remove those old/bad references and add in the new dll references, then remove those web.config entries.