Compile classes

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I have 4 classes, under the same namespace, which I created while
developing a web site.

I have this four classes under app_code folder of my web site.

I would like to compile this classes so I can use the .dll in all my
web sites instead of having the .vb files in app_code folder of all web
sites.

What should I do in VS2005?

Should I create a project or a web site with only these classes?

How should I compile it?

Thanks,

Miguel
 
Anytime you want to re-use classes or functionality with more than one
project it's time to create a class library. You can then put these classes
in the library and use them in multiple places. You'll probably need to add
some additional project references to the new class library as features such
as System.Web aren't added by default.
 
Back
Top