Possible Duplicate:
Is it possible to declare a partial class in two projects
Say In my project solution, I have two project, ProjectA and ProjectB. ProjectA created: MyClassA
Then ProjectB has ProjectA referenced. Is it possible to create a partial class for ProjectA's MyClassA in ProjectB?
My Project A's MyClassA:
namespace TestPartial
{
public class MyClassA
{
public string MyName { get; set; }
}
}
My Project B's MyClassB:
namespace TestPartial
{
public partial class MyClassA
{
public DateTime BirthDate { get; set; }
}
}
But obviously both properties doesn't merge.... So I guess is only work if they are in same project only? Or there is some workaround for it?