-1

Visual Studio 2013 Premium Update 4; Visual Studio 2013 SDK installed.

enter image description here

I see the code sources are for older Visual Stuido version. It has a link to Visual Studio 2010 (instead of 2013) SDK Samples.zip file. I try compile its some projects but I get an exceptions... For example:

enter image description here

Other projects compiled successfully, but I read their instruction of running:

Running the Sample

To run this sample, copy both the AlphaBlendToolbar.Addin file and the newly-built AlphaBlendToolbar.dll file into your Visual Studio Addins directory (My Documents\Visual Studio 2010\Addins) and then open a new instance of Visual Studio 2010. Next, run the Tools | Add-in Manager menu command. Check the checkbox next to AlphaBlendToolbar and hit OK. You should see a new toolbar with two command buttons on it. The interesting thing about this sample is that the command button icons have alpha-transparency.

But VS 2013 has not the Addins directory... Ok, I create it:

enter image description here

I compiled the sample of SDK:

enter image description here

but I don't see here the compiled DLL:

enter image description here

enter image description here

Why I have such problems?

Andrey Bushman
  • 11,712
  • 17
  • 87
  • 182

1 Answers1

0
  • The AddIns folder under the Documents folder is not created by default by VS when installed, so you need to create it by hand, as you have done
  • Remove the folder C:\Users\developer\Documents\Visual Studio 2013\AddIns from the Options window, it is not required, the %VSMYDOCUMENTS%\AddIns folder takes care.
  • .AddIn files can contain several values to describe the target VS versions. The AlphaBlendToolbar.AddIn file of the sample only contains the VS 2010 target, you need to edit it and add the VS 2013 ("12.0") target:

<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>12.0</Version>
</HostApplication>

Carlos Quintero
  • 4,300
  • 1
  • 11
  • 18