Lets say I have two projects A and B. A depends on B. I can specify this in two ways:
- Include A and B in the same solution and specify B as a project dependency for A. This shows up in A's msbuild project as a "ProjectReference" node.
- Include a reference to the B's compiled dll as dependency for A. This shows up in A's msbuild project as a "Reference" node
My question is, once I've build the assembly for A, is there a difference in the final output between these two methods.
I tried creating a couple of simple projects which model this relation and tried a comparison - but different comparison tools are telling me different things. Pending writing something which compares these files byte-by-byte, I was wondering if you folks knew anything about this. Specifically, will there be any difference in the behaviour of the built assembly if I use dll reference instead of a project reference.