Hello, I am trying to set up my Visual Studio projects. I have a generic project (say SharedProj) that has all the constants, common classes. SharedProj will be referenced by two other solutions (say SolnA, SolnB), but potential more in the future.
There are two ways I can think of:
- I can add SharedProj to both SolnA and SolnB.
- Or I can add the SharedProj.dll to the References in both SolnA and SolnB.
Since this is my first time working on a solution that references other projects/solutions, is one way preferred than the other?
By the way, is there any easy way to rename a variable name in SharedProj and updates all references to this variable? Like if I rename a variable's name within the project, there's an option that says "Rename 'old' to 'new'" which renames everything.
Thanks for your help.