Search code examples
.netcode-contracts

Deploying/Using Code Contracts Reference Assemblies


Once you generate CodeContract assemblies for an assembly containing interfaces, how do consumers of the interface use/make us of, the reference assemblies. Do you reference the "reference" assemblies directly, are do you simply co-locate the reference assemblies in some know location relative to the assembly containing the interfaces in question?

Thanks


Solution

  • As far as I'm aware, you just colocate the contract assemblies with the "real" assemblies, and the Code Contracts tool chain picks them up automatically.