Visual Studio 2013高级更新4; 已安装Visual Studio 2013 SDK。
我看到代码源是针对较旧的Visual Stuido版本的。它具有指向Visual Studio 2010(而不是2013)SDK Samples.zip文件的链接。我尝试编译其一些项目,但出现异常...例如:
其他项目已成功编译,但我阅读了它们的运行说明:
运行样本
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:
I compiled the sample of SDK:
but I don't see here the compiled DLL:
Why I have such problems?
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>12.0</Version>
</HostApplication>
请注意,有两个.AddIn文件,一个在Documents文件夹中(用于部署),另一个在您的解决方案中(用于源代码控制等),请确保您同时更新了这两个文件。
FWIW,有一个VS 2013 SDK样本:http : //blogs.msdn.com/b/vsx/archive/2014/05/30/vs-2013-sdk-samples-released.aspx
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句