Compile a class in to a .dll file in Visual Studio 2008
Posted on 2008-06-17
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.