?
Solved

Compile a class in to a .dll file in Visual Studio 2008

Posted on 2008-06-17
1
Medium Priority
?
2,102 Views
Last Modified: 2013-12-16
Hi,

Sorry for such lame questions, but I'm a total newbie at ASP.NET and Visual Studio.

I'm building this web site in C#/ASP.NET.

I have a class that I want to compile in to a .dll file.

I have two questions:

1) Should I create a new project just for the class or can I use my site's directory structure (namely App_Code folder) ?
If I should create a new Project, what should I choose ? "New Project -> Visual C# -> Web -> ???? here I don't know ???"

2) How do I, in Visual Studio 2008 compile the file as a .dll ? I can't figure out any option for that in the menus.

I've already googled about this, but not only I couldn't find any satisfactory answer, also I didn't find anything about Visual Studio 2008, only 2005 or younger.

Any help would be appreciated.

Warm Regards,
Mário Gamito

0
Comment
Question by:angelsofgrace2006
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 21801345
You need to add a new new project to your solution and select the "Class Library" project template. This will compile as a .DLL.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question