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 1 2549
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 the app with the library it
works fine.
I am using gcc3.04 compiler on Linux AS2.1
The code works fine with MS VC6.0 and also with SunPro5.3 compilers.
The library contains a base class and a derived class and also an extern "C"
function that...
|
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 hierarchy of algebraic matrices with the
addition operation. Thus, I want to have a virtual base class
class Matr;
|
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 .Net examples...
using System.Xml;
using System.Xml.Serialization;
using System.Collections;
using System.IO;
|
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. It is
almost like it is trying to implement it's own COM interfaces...
below is the header, and a link to the dll+code:
Zip file with header, example, and DLL:...
|
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 library (.dll)
projects. The server loads the clients from their DLL-files at runtime using
reflection tools, such as:
ClientAssembly =
System.Reflection.Assembly.LoadFrom(Client_To_Load_File_Name)
| |
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 of my
base classes including my base MDI Container form and my
base MDI child form
the mdi container has a singleton which returns an
|
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 assembly
3- I am trying to deserialize from an EXE that references version 2.0 of
the assembly
4- Both version 1.0 and 2.0 of the assembly reside in the GAC (no policy
redirects exist).
|
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 run the app, the method runs just fine. The class library returns
the array of objects and the ComboBox is loaded.
The problem I am having is when I try to open the form that contains the
user control in the designer. Instead of the form, I get...
|
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 View I want
the form populated from there profile on the sql server. The code to
save the profile works fine. But when the user logs back in they data
doesn't load back to the form. The multiview is located inside the
LoginView's Logged-In View ....
|
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 comes down to
standard c++ stuff and is not specific to Mac OS X compiler&linker.
I have put together a simple test project which can be found at:
http://ericgorr.net/LibraryLoading.zip
which demonstrates the problem.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |