There are a lot of questions floating around with this problem and i\'ve worked through them ll with no joy.
I am receiving this error:
Method
For the records, in my case this was caused by two projects referencing different versions of the same package. At least fixing this solved the issue.