Compile classes

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
 
M

Mark Fitzpatrick

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top