A
ABC - Sébastien Beaugrand
Hi,
I am working on a project that is getting too big and we would like to split
it in many DLLs Projects.
In that way some dlls should be written in C# and some in VB.NET.
The problem we got to do that is that if we cut a part of code from the main
project (Project1) and if we put it in a new DLL project (Project2) it is
not possible to compile Project2 because it need to declare some classes
that are defined in Project1.
To resolve that problem, in project 2 we add a reference to Project1.
But now, because some functions called by Project1 have been moved to
project2, we need to add a reference to project2 in the main project
(project1).
And we got circular references and it is impossible to build the solution
!!!
So what is the correct way to organize an oo project in many DLLs ?
Thanks
Sebastien
I am working on a project that is getting too big and we would like to split
it in many DLLs Projects.
In that way some dlls should be written in C# and some in VB.NET.
The problem we got to do that is that if we cut a part of code from the main
project (Project1) and if we put it in a new DLL project (Project2) it is
not possible to compile Project2 because it need to declare some classes
that are defined in Project1.
To resolve that problem, in project 2 we add a reference to Project1.
But now, because some functions called by Project1 have been moved to
project2, we need to add a reference to project2 in the main project
(project1).
And we got circular references and it is impossible to build the solution
!!!
So what is the correct way to organize an oo project in many DLLs ?
Thanks
Sebastien