Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use class library in other projects?
Message
 
To
16/06/2002 22:25:42
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00669066
Message ID:
00669068
Views:
23
>I created a class library as a separated project and after compiling it, I tried to access in another project but with no success.
>
>using system;
>using myProject;
>
>namespace otherproject
>{
>   public class MyOtherProject
>   {
>      // I want to access properties and methods of MyProject.DLL here but
>      //like:
>      GetTax getTax = new GetTax();
>      getTax.ComputeTax(blah....);
>   }
>}
>
>Above gives an error C:\DotNetApps\OtherProject.cs(6): The type or namespace name 'myProject' could not be found (are you missing a using directive or an assembly reference?)
>
>Please help!
>
>TIA
Did you add it to your project you want to reference from as a reference? (Rt click References, click on Projects tab , Click the Browse button and find the project .dll or exe you want to add.)
Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform