I'm developing simple VS 2008 addin.
Now I have only autogenerated code of base autogenerated files.
This is "TestsGenerator - For Testing.AddIn" file:
<?xml version="1.0" encoding="UTF-16" standalone="no"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
<HostApplication>
<Name>Microsoft Visual Studio Macros</Name>
<Version>9.0</Version>
</HostApplication>
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>9.0</Version>
</HostApplication>
<Addin>
<FriendlyName>CSUnit tests generator</FriendlyName>
<Description>Generates tests for csUnit basing on TestingTable.xml file</Description>
<Assembly>D:\Nova\dev\RecipeConverter\Sources\TestsGenerator\bin\TestsGenerator.dll</Assembly>
<FullClassName>TestsGenerator.Connect</FullClassName>
<LoadBehavior>0</LoadBehavior>
<CommandPreload>1</CommandPreload>
<CommandLineSafe>0</CommandLineSafe>
</Addin>
</Extensibility>
I succeed to debug the code, when I run the project in F5. Now, here is list of functions calls after I press F5:
constructor()
OnConnect()
I press on Addin's button in Tools menu:
OnConnect()
Exec()
AND!!! The button desapears from the Tools menu!!!
Can some one tell me WHY it happens!?
Thank you for ahead.