开发者

Installing a .NET control in the visual studio toolbox

We currently use this project for installing .NET con开发者_StackOverflow社区trols in the Visual Studio toolbox: http://vstudiotoolbox.codeplex.com/. This approach requires to run VStudio in the background resulting in a very slow operation. We noticed that many other component manufacturer can install their control instantly.

What other approaches exist?

Thanks.


I wrote a tutorial article on how to do this:

Visual Studio Toolbox Control Integration

I found project on CodePlex quite obsolete and updated it to work with Visual Studio 2012.

Other approaches include:

  • Toolbox Controls Installer (TCI) Package - probably the quickest and easiest way
  • VSI and VSIX packages
  • VSPackage - the most powerful, and most complicated way

I have discussed the updating and uninstallation in the article as well.


You need to create a VSI file and use Tool.InstallComponents Command. Really simple actually. Also read Toolbox Control Development article at MSDN.

Sample VSI template:

<?xml version="1.0" encoding="utf-8" ?>
<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
  <Content>
    <FileName>Web Connection\WebConnectionWebControls.dll</FileName>
    <DisplayName>Web Connection</DisplayName>
    <Description>Web Connection Toolbox controls for use with the Web Control Framework in VS.NET</Description>
    <ContentVersion>1.0</ContentVersion>
    <FileContentType>Toolbox Control</FileContentType>
  </Content>
</VSContent>

Then run the command: devenv.exe /command Tools.InstallCommunityControls


Here is what I have discovered so far: http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/bf9ec1a9-d9eb-48b3-a081-414587f27f55/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜