Menu

#28 Needs an .addin XML file in order to install under VS 2005

open
nobody
5
2006-08-10
2006-08-10
Anonymous
No

The installation method given on the home page no
longer works, since the menu option does not exist.

According to
http://www.codeproject.com/useritems/AddinCustomAction.asp
an XML file is now required.

I have tried editing the XML file given in the example,
as follows; this lets the addin try to load but gives
an error, presumably because the class name (and icon
data!) are wrong.

Here's what I put in doxbar.addin (in turn in
C:\MyDocs\Visual Studio 2005\Addins) - had to remove
the 'encoding' in the first line, caused an error.

Maybe the whole thing needs rebuilding, but currently
don't know enough to do this - maybe someone with
current knowledge could quickly sort this out ?

Otherwise will have a look myself if time to learn permits.

<?xml version="1.0" standalone="no"?>
<Extensibility
xmlns="http://schemas.microsoft.com/AutomationExtensibility">
<HostApplication>
<Name>Microsoft Visual Studio Macros</Name>
<Version>8.0</Version>
</HostApplication>
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>8.0</Version>
</HostApplication>
<Addin>
<FriendlyName>DoxBar</FriendlyName>
<Description>Doxygen toolbar</Description>
<AboutBoxDetails>DoxBar</AboutBoxDetails>
<AboutIconData>0000FFFF0000</AboutIconData>
<Assembly>.\doxbar.dll</Assembly>
<FullClassName>DoxBar.Connect</FullClassName>
<LoadBehavior>0</LoadBehavior>
<CommandPreload>0</CommandPreload>
<CommandLineSafe>0</CommandLineSafe>
</Addin>
<ToolsOptionsPage>
<Category Name="DoxBar">
<SubCategory Name="General">
<Assembly>.\doxbar.dll</Assembly>
<FullClassName>DoxBar.OptionsPage</FullClassName>
</SubCategory>
</Category>
</ToolsOptionsPage>
</Extensibility>

Discussion

  • Mike Whittaker

    Mike Whittaker - 2006-08-10

    Logged In: YES
    user_id=323126

    Sorry forgot to login when submitting the above ...

     
  • Olivier Sannier

    Olivier Sannier - 2006-09-05

    Logged In: YES
    user_id=656908

    If only it was that simple.
    Have you had a look at the whole way it is written?
    The code to install an addin is totally different and not
    all compatible with V6.
    And I could not find ANY example of doing it in C++...

     
  • Mike Whittaker

    Mike Whittaker - 2006-09-05

    Logged In: YES
    user_id=323126

    Thanks for taking a look anyhow.
    I was just taking a quick shot to see how far I got with the
    XML - I knew that things like the ClassName would be
    completely wrong but was interested to see if VS would at
    least recognise something ... which it did, before rejecting
    it ! So I had some little satisfaction, while acknowledging
    that I did not know anything relevant !

    Wonder why there's no docs on creating an addin ?

    Found this
    http://msdn2.microsoft.com/en-us/library/ms165621.aspx which
    doesn't look v detailed ...

     
MongoDB Logo MongoDB