I have a custom control packed as myControl.dll. How to install it in VS2010 by using the WPF ToolBox Control template? I do not want to use the "Choose Toolbox..." or "Drag and Drop" techniques.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I wrote a thorough tutorial article on the topic:
Visual Studio Toolbox Control Integration
The "Choose Items..." is easiest choice for manual installation and is discussed in the article as well.
You can also bundle the control in VSI, VSIX or VSPackage, use VS Automation Object Model (DTE) or existing package pre-installed with VS2010 and newer called Toolbox Controls Installer (TCI).
Drag and drop does not work for VS Toolbox as far as I know.