Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Compile classes

Reply
Thread Tools

Compile classes

 
 
shapper
Guest
Posts: n/a
 
      10-10-2006
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

 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      10-10-2006
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.


--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"shapper" <> wrote in message
news: oups.com...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compile directive for conditional compile for Java 1.4 versus Java 5 timjowers Java 7 02-02-2011 12:08 AM
How to compile the following source code in VC6// I have error inVC++6 but compile ok in GCC fAnSKyer C++ 2 06-07-2009 07:57 AM
computation at compile time i.e. compile time functions usingtemplates Carter C++ 2 03-04-2009 06:43 PM
Compile versus not compile (VS 2005)?? stupid48@gmail.com ASP .Net 1 04-11-2008 08:24 PM
cant compile on linux system.cant compile on cant compile onlinux system. Nagaraj C++ 1 03-01-2007 11:18 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57