rahul shekar

rahul shekar

  • NA
  • 10
  • 2.4k

issue accessing a class from two assembly having same name

Oct 19 2016 4:55 AM
I have referenced two dll in which i need to create a array property for a class. but both dll has same class name so couldnt do any further.
 
this is the class present in both DLL's.
 public partial class Property
{
}
 
i need to create a property like this 
public Property[] Properties;
 
but i am referencing both the DLL's which contains the above class and when i declare the above property i get below exception.
 
The type 'Property' exists in both 'C:\Shekar\TSB Custom Interface\Customer_Int_191016\Charter.TSB.Customer.Service\bin\Debug\Charter.TSB.Customer.Service.dll' and 'C:\Shekar\TSB_FPS\Charter.TSB.Interface_VS12_Latest\Charter.TSB.FPS.Service\bin\Debug\Charter.TSB.FPS.Service.dll'
 
 please help.

Answers (1)