The version doesn’t matter. I haven’t tried this with Visual Studio 2005 though but the process is the same for 2008 and 2010. Here’s it is:
- Create your library project by choosing static library in project wizard.
- Create your project that will use the library.
- Important step is, those two projects need to be in same solution. So don’t forget to choose Add to solution in Solution tab under new project wizard. Otherwise, your project won’t be able to see library.
- Choose your project on projects manager and click on Project > References. Then under Common Properties choose Framework and References section. Then click on Add New Reference. You will be able to see your library on this list. If not, you either couldn’t create your library project or they are in different solutions.
For a complete guide please visit MSDN website.