Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use class library in other projects?
Message
 
À
16/06/2002 22:25:42
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00669066
Message ID:
00669068
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform