Solved

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

Posted on 2008-06-17
1
2,090 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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