>>Hi All, I have a solution containing several projects, these contain various classes such as forms , controls etc..., I recently added a form class to one of these projects ( which is actually the startup project ) and cannot create an instance of it from the other projects, I receive no intellisense listing of this form even though it is in the same namespace as the rest of the projects ( hope this makes sense ? ). If I try to add a reference to the startup project from the project I want to instantiate the form from - I receive the error "circular reference" ( not verbatim - but I'm sure you know the one ? ). The only way I can get this resolved,is, if I add a reference to the startup project exe - which doesn't look the correct way of doing things - any ideas ? - I suppose a way around would be to move the new class to the other project
>
>If I understand correctly you have this form in the Startup project and the Startup project references (for the sake of argument) ProjectB and you now want to instantiate the form from ProectB but can't add a reference to the Startup project because there's already a reference in the opposite direction. In these cases I usually create a separate project for the form (and any other 'common' classes that may be reguired) so that it can referenced from both the Startup and ProjectB projects.
>
>Namespaces, BTW, have nothing to do with it. You can retain the same namespaces with the new arrangement if it makes more sense......
Thanks Viv
Regards,
Peter J. Kane
Pete