0

I have two project in my visual studio solution project A and project B. Project A deploys its dll into the GAC. Project B references the dll of project A. Now I would like to know whether I should add the reference of project A from its' bin directory or from GAC, which one is the good practice.

nbi
  • 1,096
  • 3
  • 15
  • 22

1 Answers1

0

Can't speak for what is best practice, but if it is already deployed to GAC, then it would be the copy used preferentially by the machine, so I would reference that.

SeeMoreGain
  • 1,203
  • 14
  • 34
  • although I would add that if you can avoid deploying project A to the GAC in the first place, do it. Often maintaining the GAC is more trouble than it is worth – SeeMoreGain May 27 '14 at 04:07