By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,929 Members | 631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,929 IT Pros & Developers. It's quick & easy.

Referencing Class Libraries

P: n/a
PRODUCT: C# 2005 Beta 1

I wrote a class library and want to include it in my Windows application.
The namespace of the class library is TokenizerClasses. How do I do it? I
already included it in my solution, but the rest I have no clue about.
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
a) you don't need to include the source code in your solution, although
doing so provides a few benefits.
b) the project (within the solution) needs to add your library to the list
of references.
c) your library should have a unique namespace
(CompanyName.AreaOfFunctionality.SpecificProject)
d) in C#, add a 'using' statement to the top of any code file that needs to
"see" the classes in that namespace (This is shorthand... you could use the
fully qualified name if you want, but it can get tiring to type).

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"psduckie" <ps******@discussions.microsoft.com> wrote in message
news:5D**********************************@microsof t.com...
PRODUCT: C# 2005 Beta 1

I wrote a class library and want to include it in my Windows application.
The namespace of the class library is TokenizerClasses. How do I do it? I already included it in my solution, but the rest I have no clue about.

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.