using class file from another project in asp.net project
-
hi, i have created C# application using empty project, now i'm working on asp.net web project and i wanna use the classes i built in the previous project in my asp.net project. i remember in C++ we can use include"path" how to do this in C#? i try using"path" but failed is there any other way without having to add the C# source file to the project?
-
hi, i have created C# application using empty project, now i'm working on asp.net web project and i wanna use the classes i built in the previous project in my asp.net project. i remember in C++ we can use include"path" how to do this in C#? i try using"path" but failed is there any other way without having to add the C# source file to the project?
If you using Visual Studio just add a reference to the dll that was created in the first project. Otherwise just place the dll in the bin directory in your web project and you will be able to access the classes.
-
If you using Visual Studio just add a reference to the dll that was created in the first project. Otherwise just place the dll in the bin directory in your web project and you will be able to access the classes.
-
Nope, you'll need to use a DLL. - Mike ------------------------- "No human being would stack books like that." - Dr. Venkman