I had the same problem when Target framework of destination project and the version of references was different. After I’ve changed it Project properties, it worked.
I had the same problem when Target framework of destination project and the version of references was different. After I’ve changed it Project properties, it worked.