3

我试图让vs2012的部署,VisualStudio - 如何无人参与安装第三方DLL控件?

的扩展是太容易安装,因为他们是在VSIX格式,这样我就可以静静地给他们打电话,

的问题是我怎么能安装一个DLL控制我的VS而不打开“选择工具箱项目...”菜单?

这是posibbly?

也许存在一个特殊的文件夹,如snippets文件夹,你放了一些片段,VS会自动识别新添加的片段?

或者我可能需要为每个第三方DLL控件创建一个VSIX安装程序?那么有人可以给我一些关于这方面的信息?

三江源阅读

UPDATE:我得到这个错误试图工具箱经理的自定义生成:

PD:我使用赢得64位,我已经tryed至少所有这个工具的命令组合。

enter image description here

回答

2

我写了一篇关于工具箱控件安装教程文章在Visual Studio中,包括VS2012:

Visual Studio Toolbox Control Integration

它包含了几种方法,并比较他们,你可以选择一个最适合你的。

+0

感谢评论,但我无法找到一个下载链接DTE! – ElektroStudios

+0

我无法找到DTE工具的TCI的donload链接...并且在您的文章中未完成的部分(例如,对于我来说这个必需的键)不完整:在Visual Studio 2012中安装 需要一个额外的步骤在Visual Studio 2012中进行这项工作,该工作是在其用户配置配置单元中添加注册表项,即: HKCU \ Software \ Microsoft \ VisualStudio \ 11.0_Config \ ToolboxControlsInstaller \ SampleControl,Version = 3.7.0.0,Culture = neutra can你修改它吗? – ElektroStudios

+0

我已经[更新文章](http://www.componentowl.com/articles/visual-studio-toolbox-control-integration#source)添加下载链接。我已经用VS2010和VS2012测试了所有的方法。文章中提到了所需的附加注册表项。希望它能帮助你。 – Libor

0

不是最好的解决办法,但...我对谁也不能运行toolbox.exe为VS2012人的替代解决方案:

PS:此批处理文件是基于另一个蝙蝠但我已经失去了信用的参考链接,我的错误控制和更多的定制。

@Echo OFF 
Title Control Installer v1.0 

REM By Elektro [email protected] 
REM This tool performs installation of new controls for VisualStudio. 


REM Syntax: 
:: Control_Installer.cmd "Name of dll" "Name of tab" "Controls folder (THIS IS OPTIONAL)" "DEVENV.exe folder (THIS IS OPTIONAL)" 


Set "DLLFILE=%~1" 
Set "TABNAME=%~2" 
IF "%~3" EQU "" (SET "CONTROLSFOLDER=%USERPROFILE%\Documents\Visual Studio 2012\Controls") ELSE (SET "CONTROLSFOLDER=%~3") 
IF "%~4" EQU "" (SET "VSFOLDER=%VS110COMNTOOLS%\..\IDE\")         ELSE (SET "VSFOLDER=%~4") 


IF NOT EXIST "%DLLFILE%"    (Echo: An error occurred: Can't find the controls file "%DLLFILE%". & Exit /B 1) 
IF NOT EXIST "%CONTROLSFOLDER%"  (Echo: An error occurred: Can't find the controls folder "%ControlsFolder%". & Exit /B 1) 
IF NOT EXIST "%VSFOLDER%\devenv.exe" (Echo: An error occurred: Can't find the VisualStudio "devenv.exe" in "%VSFOLDER%". & Exit /B 1) 
IF "%TABNAME%" EQU ""     (Echo: An error occurred: Can't crate the tab "%TABNAME%". & Exit /B 1) 


MKDIR "%ControlsFolder%\%TABNAME%"    2>NUL 
Copy /Y "%DLLFILE%" "%ControlsFolder%\%TABNAME%\" 1>NUL 
Start /B /D "%VSFOLDER%" devenv.exe /command Tools.InstallCommunityControls && Exit /B 0 || (Exit /B 1) 
0

这里是我的@Libor的更新工作

我翻译所有的代码到VB.NET,加入VS2013与WPF控件实验兼容性。

以上原创作者的点数。

enter image description here

enter image description here

enter image description here

下面是详细信息:

www.google.com/translate?hl=en &即= UTF8 & SL = ES & TL = en & u = http%3A%2F%2Fforo.elhacker.net%2Fnet%2Fsource_extended_dte_toolbox_control_installer-t406027.0。HTML%3Bmsg1909162%23msg1909162

这里是源:

http://elektrostudios.tk/Extended%20DTE%20Toolbox%20Control%20Installer.zip