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

Problem: Class Library

P: n/a
Hello,

I am using Visual C# .net Standard and want to create a
Class Library. However I am having some difficulty. I
am following the directions to do so from Deitel's "C#
How to Program" in Chapter 8.16 in which it says, "From
the FILE menu, choose option NEW, follewed by PROJECT...
In the NEW PROJECT dialog, ensure that C# PROJECTS is
selected in the PROJECT TYPES section and click CLASS
LIBRARY". That is where I am having an issue. There is
no project type called "Class Library" listed as is
described to select, even though I have selected C#
Projects and have followed the directions as given. It
is also not listed in any of the other project types.
Has any one else had this problem, and is there a work
around or solution, or is this what I get for buying the
standard edition? I have checked for application
updates, but I get the response that my application is up
to date. Any help would be appreciated as I like having
modular and reusable code. Thank you for your time.

Respectfully,
Matthew W. Sanders
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You don't need the wizard to create a class library. Simply create an empty
project, right click on your project icon, and click Add\New Item. Select
the Class icon, name it what you want, and edit the file. To build the
project correctly, you may need to go into your project properties (right
click on your Project icon and select Properties), and change the output
type from Windows Application to Class Library. That's all.

Still, it's odd that your copy of VS should do that.

Hope this helps,
Chris

"Matthew" <Ma***************@Yahoo.com> wrote in message
news:09****************************@phx.gbl...
Hello,

I am using Visual C# .net Standard and want to create a
Class Library. However I am having some difficulty. I
am following the directions to do so from Deitel's "C#
How to Program" in Chapter 8.16 in which it says, "From
the FILE menu, choose option NEW, follewed by PROJECT...
In the NEW PROJECT dialog, ensure that C# PROJECTS is
selected in the PROJECT TYPES section and click CLASS
LIBRARY". That is where I am having an issue. There is
no project type called "Class Library" listed as is
described to select, even though I have selected C#
Projects and have followed the directions as given. It
is also not listed in any of the other project types.
Has any one else had this problem, and is there a work
around or solution, or is this what I get for buying the
standard edition? I have checked for application
updates, but I get the response that my application is up
to date. Any help would be appreciated as I like having
modular and reusable code. Thank you for your time.

Respectfully,
Matthew W. Sanders

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.