VB.NET Visual Basic Power Pack 在 VS2015 上不起作用?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34322344/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
VB.NET Visual Basic Power Packs not working on VS2015?
提问by Student
I have downloaded the VS Basic Power Packs from the link here https://msdn.microsoft.com/en-us/library/cc488277.aspxbut I have no idea why it does not appear in my project toolbox. I have also added the project reference for both the VB Power Packs and VB Power Packs Design to my project and refreshes the toolbox but it does not show at all.
我已经从这里的链接https://msdn.microsoft.com/en-us/library/cc488277.aspx下载了 VS Basic Power Pack, 但我不知道为什么它没有出现在我的项目工具箱中。我还在我的项目中添加了 VB Power Packs 和 VB Power Packs Design 的项目参考并刷新了工具箱,但它根本没有显示。
Here is some pictures of it. Btw, I am using VS 2015 PRO. What did I missed out?
回答by Hawkeye
@Plutonix has the correct answer in the comments. I just thought I would add and illustrate the answer.
@Plutonix 在评论中有正确答案。我只是想我会添加并说明答案。
(NOTE: as mentioned by @Student in the question, you'll need to download the power packs because they are no longer included Visual Studio 2015. You can do so at this >> link<< and then continue with the rest below.)
(注意:正如@Student 在问题中提到的,您需要下载电源包,因为它们不再包含在 Visual Studio 2015 中。您可以在此 >>链接<< 中执行此操作,然后继续下面的其余部分。 )
To use the power packs, technically you don't need to add the references, all you need to do is add the power packs to the toolbox.
要使用电源包,从技术上讲,您不需要添加引用,您只需将电源包添加到工具箱中即可。
To do this, you right click in the toolbox and select "Choose Items"
为此,您可以右键单击工具箱并选择“选择项目”
Then the a window pops up. You can use the filter on the bottom, type "power" and then check the shape items you want to add.
然后弹出一个窗口。您可以使用底部的过滤器,键入“power”,然后检查要添加的形状项。
Again, you should not need to add a reference, just include the power pack items, and that should do the trick. =)
同样,您不需要添加引用,只需包含电源包项目,就可以解决问题。=)