I am trying to create a Toolbox exension for Visual Studio 2013. I installed the SDK and created a Extensibility - Windows Forms Toolbox Control project.
Inside this project I have multiple groups of controls, each group resides in a separate namespace and each control has their own specific [ProvideToolboxControl("GROUPNAME", false)] tag.
When I compile the project and install the extension, all my controls are added to the toolbox, but instead of seeing them in their defined groups they are all added together in one (the last group defined).
On opening the .pkgdef file, I see the following. Instead of adding each specific control, the attribute just adds the entire project over and over again, using the last line to determine toolbox name.
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_A"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_A"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_A"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_B"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_B"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_B"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_B"
"Codebase"="$PackageFolder$\DLL_NAME"
[$RootKey$\ToolboxControlsInstaller\DEFAULT_NAMESPACE Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]
@="GROUP_B"
"Codebase"="$PackageFolder$\DLL_NAME"
Question: How do I create multiple Toolbox Groups in a single project?