Installing a .NET Framework control in the visual studio toolbox
Asked Answered
U

3

10

We currently use this project for installing .NET controls 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.

Unsling answered 11/5, 2011 at 7:20 Comment(1)
Take a look at this [msdn.microsoft.com/en-us/library/ms165358.aspx][1]Modiolus
A
5

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.

Accommodation answered 18/3, 2013 at 13:28 Comment(0)
T
2

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

Totem answered 25/5, 2011 at 10:7 Comment(2)
Will this approach work on all VS.NET editions? 2005, 2008 and 2010?Unsling
According to the documentation, yes.Totem
U
0

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

Unsling answered 25/5, 2011 at 9:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.