Search code examples
winformsvisual-studiovisual-studio-2010templates

How can I create a Windows Control Library project in Visual Studio?


i was trying to complete a tutorial on custom controls and all of the tutorials that ive found say that you have to choose a project template called "windows control library". I don't have that template as an option! I am using VS2010 professional. Any ideas?


Solution

  • The "Windows Control Library" project template is used to quickly get started creating custom controls for use in Windows Forms (WinForms) applications. It creates a project that is automatically populated with the necessary references and files.

    1. To create a new project of this type, you first have to pick one of the .NET languages—it doesn't matter which—either C#, VB.NET or C++/CLI.

    2. Then, select the "Windows" category to narrow down the scope of the project types that are listed.

    3. Finally, select the project type called "Windows Forms Control Library".