473,386 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problem: Class Library

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
1 2529
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: KeithO | last post by:
I am having problems calling dynamic_cast<> on a pointer returned by a dynamically loaded library. The problem seems to be related to the fact that I dynamically load the library because if I link...
4
by: Leslaw Bieniasz | last post by:
Cracow, 20.09.2004 Hello, I need to implement a library containing a hierarchy of classes together with some binary operations on objects. To fix attention, let me assume that it is a...
0
by: | last post by:
The code is below.. I want to be able to override two classes to the same element name... I've commented out the code which I cant get to work... the base of the code is an extention of one of the...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
0
by: John Lafrowda | last post by:
Dear all, here is a simple problem that I cannot overcome: I'm trying to write a client/server application in Visual Basic .net. The server is an executable (.exe) project, the clients are class...
0
by: Bruin | last post by:
Hi All, I'm having a problem with MDI child forms when the reference to the MDI Parent is set in a Control library. (Sorry for the long post) I have an control library assembly which holds all...
5
by: Harold Howe | last post by:
I am having a problem deserializing objects from a library when the following conditions exist: 1- The library is strongly named 2- The serialized file was created with version 1.0 of the...
1
by: Dale | last post by:
I have a user control on a Windows Form that, in its Load event handler, calls a method from a class library to initialize an array of objects that are then used to populate a ComboBox. When I...
0
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile...
18
by: Eric | last post by:
Ok...this seems to be treading into some really esoteric areas of c++. I will do my best to explain this issue, but I don't fully understand what is happening myself. I am hoping that the problem...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.