D
dominique
Hi,
In windows app, i have a solution with multiple projects.
If a project must "see" types (class, modules, structures, delegates,
enum) of an other project, we must add reference to this project (in
solution explorer, right clic on add reference, then third tab Add
project).
Now my question :
we can Add reference to the project or to the dll of the project (with
browse).
When do we choose "reference to a project" and when do we choose
"reference to the dll of the project" ?
What are the best practices ?
What are the impacts on debug mode and on executable file ?
If we choose "reference to the dll of the project" :
- what dll do we choose ? in the folder \bin or obj\debug ?
- how does VS work then in debug mode ? with the project.pdb ?
Thanks in advance.
Dominique Gratpain
In windows app, i have a solution with multiple projects.
If a project must "see" types (class, modules, structures, delegates,
enum) of an other project, we must add reference to this project (in
solution explorer, right clic on add reference, then third tab Add
project).
Now my question :
we can Add reference to the project or to the dll of the project (with
browse).
When do we choose "reference to a project" and when do we choose
"reference to the dll of the project" ?
What are the best practices ?
What are the impacts on debug mode and on executable file ?
If we choose "reference to the dll of the project" :
- what dll do we choose ? in the folder \bin or obj\debug ?
- how does VS work then in debug mode ? with the project.pdb ?
Thanks in advance.
Dominique Gratpain