Hi,
My Solution contains the following projects:
BusinessFacade
BusinessRules
DataAccess
SystemFrameworks
WebUI
=============================
namespace BusinessFacade //BusinessFacade project with added
SystemFrameworks reference
public ClassA : SystemFrameworks.ClassB
{
....
}
=============================
namespace SystemFrameworks //SystemFrameworks project
public ClassB
{
.....
}
=============================
namespace WebUI //WebUI project with added BusinessFacade reference
public class WebForm1 //code behind my webform
{
BusinessFacade.ClassA obj = new BusinessFacade.ClassA();
do something with obj.......
}
=============================
To make the code behind WebForm1work, I have to add SystemFrameworks
reference to WebUI project which doesn't seem right to me. I always thought
that I only suppose to add BusinessFacade reference to WebUI project and not
the others. But in this scenario I had to add SystemFrameworks reference to
WebUI. Have I got it wrong?
Thanks in advance
Mehdi