468,168 Members | 1,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,168 developers. It's quick & easy.

ERROR: The type 'frm_data.frm_data' is defined in an assembly that is not referenced.

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
Sep 30 '07 #1
0 1076

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by JTrigger | last post: by
4 posts views Thread by Vish | last post: by
reply views Thread by erik.erikson | last post: by
1 post views Thread by gcdp | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.