Code contracts - Rewriter fails with missing reference
问题 I'm trying to use code contracts for some libraries I have. My library A has a reference to ThirdParty library B. Library C references A, and never uses B nor does it use the bits of A that use B. The rewriter fails though trying to find library B. The reference assembly for A exists, I was hoping that the rewriter would be just happy with that. Any ideas on how I can build this, short of moving the bits in A that rely on B out into its own assembly? EDIT: To answer a question, yes, there are