Language :: VS.NET/ C#
The type 'frm_data.frm_data' is defined in an assembly that is not referenced. You must add a reference to assembly
I have a Frm_sol solution, which consists on 2 projects
FRM_Business and frm_Data.
I build the 2 projects and copied the dlls created from them, to another Solution having a Sample_website, sample_business and Sample_Data.
So now
Sample_bl is having reference of Sample_dl project
and in
Sample_dl project i added a reference for frm_data.dll and made a function call to a method of frm_data.dll from inside a method of sample_dl. It works.
But, as soon as i try to inherit from a class in frm_data.dll to sample_bl projects class. it builds.
But, Sample_bl on build gives an error ::
Error 1 The type 'frm_data.frm_data' is defined in an assembly that is not referenced. You must add a reference to assembly 'framework_dl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=72fb7114fd4e6ef7'. C:\Temp\Test_Project\Sample\Sample_bl\components\S amplecomponent_bl.cs 16 13 Sample_bl
Please help. Basically i want to create dll's for the layered projects and want to use in another layered application.
thanks