An ASP.NET Blog
I work for Microsoft and help people and businesses make better use of technolgy to realize their full potential. The opinions mentioned herein are solely mine and do not reflect those of my employer.

Visual Studio 2005 - Creating Web Control Library

Wednesday, September 06, 2006 5:21 AM

This article is specific to Visual Studio 2005.  For Visual Studio 2008, please check Web Control Library Template in Visual Studio 2008


Visual Studio 2005 is one the coolest Development Tools available today for developing applications targetting .NET Framework 2.0.

In Visual Studio 2005, there have been a lot of changes, compared to the way Windows Applications and Web Applications were created using Visual Studio .NET 2003 and earlier versions.


For more details, please check my following articles:-

Quick Facts about Visual Studio 2005 - Did you know?

Visual Studio 2005 Web Application Projects and Web Deployment Projects

When developing with Visual Studio 2005, we might have noticed that all the web related templates are moved under "File - New - WebSite" option.

However, creating a Web Control Library is an exception to this. The Web Control Library Template still lies in the "File - New - Project" Option. It is a little suprising and tricky to find the option to create a Web Control Library.

The steps are

1. Click "File" - "New Project"


2. The "New Project" Dialog opens up with the installed templates

3. Select the preferred language "Visual Basic" or "Visual C#" under "Project Types"

4. Expand the preferred language Node.

5. Select "Windows" under the preferred language Node.

6. The available templates are listed under "Templates"

7. Select the "Web Control Library" and click "Ok" to create a Web Control Library Project.

This might be a little suprising since all the Web related projects are moved under "File - New - Website" option whereas the "Web Control Library" still remains here and particularly under "Windows" option.

In short, the answer for the question, from my understanding is that, all Project type templates are moved under "File - New - Project" and the Website related ASP.NET Website, ASP.NET WebService are under "File - New - Website" option.

Cheers and Happy Programming !!!


Feedback

# re: Visual Studio 2005 - Creating Web Control Library

Thank you for posting this bit of information. 3/3/2007 5:31 AM | Josh

# re: Visual Studio 2005 - Creating Web Control Library

It was really a handy help when I was looking exactly looking for it
Thanks
Sandeepta 3/5/2007 11:14 AM | Sandeepta

# re: Visual Studio 2005 - Creating Web Control Library

This one helped me to find it.
Thank you
Sindhu 3/6/2007 6:00 PM | Sindhu

# re: Visual Studio 2005 - Creating Web Control Library

Thank you very much.
You saved my lot of time. 3/24/2007 8:40 AM | Pradeep

# re: Visual Studio 2005 - Creating Web Control Library

Thanks, it took me out of hell.........
thanks a lot. 1/21/2008 5:13 PM | gagandeepgupta16

# re: Visual Studio 2005 - Creating Web Control Library

Thanks man!

I was searching my a** off for this template and i didn't notice, that it is under the Windows node :D 3/3/2008 12:39 AM | Demeter

# re: Visual Studio 2005 - Creating Web Control Library

Thanku so much for the explanation y it is inside windows 3/17/2008 6:24 PM | Abi

# Aaaaaaarrrrgggggglllll!!

Thank you. Took me hours to find this.

(mk) 4/1/2008 1:49 AM | mk

# re: Visual Studio 2005 - Creating Web Control Library

Cant't find it in Visual Studio 2008, what happend with the Web Control Library? 4/2/2008 3:46 AM | Leonel

# re: Visual Studio 2005 - Creating Web Control Library

Great instructions - it was a mystery!

Thanks! 4/18/2008 4:10 AM | Yair Nevet

Post a comment





 

Please add 2 and 8 and type the answer here: