windows 如何安装 Visual Studio dll 文件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1794516/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 13:29:39  来源:igfitidea点击:

How do I install Visual Studio dll files?

c#windowsdll

提问by Mohit Deshpande

I want use the Scintilla controls and the RadControls for Winforms, but I do not know how to incorporate the files. They are in .dll format? How do I use the controls if they are in .dll format?

我想为 Winforms 使用 Scintilla 控件和 RadControls,但我不知道如何合并这些文件。它们是 .dll 格式吗?如果控件是 .dll 格式,我该如何使用它们?

回答by Nick Spiers

http://msdn.microsoft.com/en-us/library/wkze6zky%28VS.80%29.aspx

http://msdn.microsoft.com/en-us/library/wkze6zky%28VS.80%29.aspx

Right click the project, click Add Reference, go to Browse tab, find them and add them.

右键单击项目,单击添加引用,转到浏览选项卡,找到它们并添加它们。

回答by RCIX

Generally you would add them to the project you want to use them in, then add a reference, and then use them like any other dll.

通常,您会将它们添加到要使用它们的项目中,然后添加引用,然后像使用任何其他 dll 一样使用它们。

For installing into the GAC, see this.

要安装到 GAC,请参阅

回答by FryGuy

In the winforms toolbox, right click and "Choose Items...", then click the browse button and find the dll. Then go through the list of controls, and check the controls that you've added (usually it will do this step for you).

在 winforms 工具箱中,右键单击并“选择项目...”,然后单击浏览按钮并找到 dll。然后浏览控件列表,并检查您添加的控件(通常它会为您执行此步骤)。

回答by FryGuy

Thisknowledge base article on the Telerik website explains how to manually add the controls to the toolbox in Visual Studio.

Telerik 网站上的这篇知识库文章解释了如何手动将控件添加到 Visual Studio 中的工具箱。