visual-studio DevExpress 控件在 Visual Studio 工具箱中不可见

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

DevExpress Controls not visible in Visual Studio toolbox

visual-studiodevexpress

提问by ProfK

I've just installed DXperienceXaf-10.1.7, but the controls do not appear in the VS 2010 toolbox, neither do they show in the VS 2008 toolbox. I have run ToolboxCreator from the 'start menu' shortcut to no avail. This is on Windows 7.

我刚刚安装了 DXperienceXaf-10.1.7,但是控件没有出现在 VS 2010 工具箱中,它们也没有出现在 VS 2008 工具箱中。我已经从“开始菜单”快捷方式运行 ToolboxCreator 无济于事。这是在 Windows 7 上。

Is there a fix for this? If not, how do I manually add them? There seem to be a zillion dll files.

有没有办法解决这个问题?如果没有,我如何手动添加它们?似乎有无数个 dll 文件。

回答by Tom

You can manually add them by creating a new DevExpress Toolbox Tab and dragging all the DLLs from

您可以通过创建一个新的 DevExpress 工具箱选项卡并从中拖动所有 DLL 来手动添加它们

"C:\Program Files (x86)\DevExpress 2010.1\Components\Sources\DevExpress.DLL"

“C:\Program Files (x86)\DevExpress 2010.1\Components\Sources\DevExpress.DLL”

Remove (x86) for a 32 bit Windows installation.

对于 32 位 Windows 安装,删除 (x86)。

Hope that helps!

希望有帮助!

回答by AshesToAshes

Although question quite old, I often get this problem when installing a DevExpress upgrade. Steps to get it working are:

虽然问题很老,但我在安装 DevExpress 升级时经常遇到这个问题。使其工作的步骤是:

  • 'Repair' the DevExpress installation
  • Run the Toolbox Creator from the Start Menu
  • “修复”DevExpress 安装
  • 从开始菜单运行 Toolbox Creator

Also one thing I noticed with this version is that the toolbox only seems to appear on .Net Framwork 3.5 and above web projects.

我还注意到这个版本的一件事是工具箱似乎只出现在 .Net Framwork 3.5 及更高版本的 web 项目中。

Had this issue with Dev Express v2011 vol 2.

Dev Express v2011 vol 2 有这个问题。

Hope it helps.

希望能帮助到你。

回答by Pulkit-aggarwal

DevExpress Controls not showing up (disable) in Visual Studio toolbox:

DevExpress 控件未在 Visual Studio 工具箱中显示(禁用):

This issue was caused by the application Target Framework being set to .Net Framework 2.0

此问题是由应用程序 Target Framework 设置为 .Net Framework 2.0 引起的

once the Target Framework was changed to 4.0, the controls became available in the Toolbox.

一旦目标框架更改为 4.0,工具箱中的控件就可用了。

To change the Target Framework in Visual Studio : For VB.net:

在 Visual Studio 中更改目标框架: 对于 VB.net:

  1. Right click the project in the Solution Explorer and click Properties...
  2. On the Compile tab, click the Advanced Compile Options... button
  3. Change the Target framework (all configurations) to .NET Framework 4.
  1. 右键单击解决方案资源管理器中的项目,然后单击属性...
  2. 在编译选项卡上,单击高级编译选项...按钮
  3. 将目标框架(所有配置)更改为 .NET Framework 4。

For C# .net:

对于 C# .net:

  1. Right click the project in the Solution Explorer and click Properties...
  2. Click the Application tab and change the Target framework to .NET Framework 4.
  1. 右键单击解决方案资源管理器中的项目,然后单击属性...
  2. 单击应用程序选项卡并将目标框架更改为 .NET Framework 4。

After that you need to repair toolbox by right clicking on toolbox tab, where controls exist. Visual Studio will close automatically and will reopen after some configuration will apply. Now you will find all devExpress Controls available on toolbox..

之后,您需要通过右键单击存在控件的工具箱选项卡来修复工具箱。Visual Studio 将自动关闭,并在应用某些配置后重新打开。现在,您将在工具箱上找到所有可用的 devExpress 控件。

Thank you...

谢谢...

Pulkit Aggrawal (email: [email protected])

Pulkit Aggrawal(电子邮件:[email protected]

[JITR Technology]

【JITR技术】

回答by DevExpress Team

I would suggest that you grab the installation's log (it should be positioned near the installer) and send it to the devexpress by creating a new ticket in the support center. We will research why the problem appears using it and let you know what causes this issue.

我建议您获取安装日志(它应该位于安装程序附近)并通过在支持中心创建新票将其发送到 devexpress 。我们将研究使用它出现问题的原因,并让您知道导致此问题的原因。

回答by cihata87

Just repair the DevEx from the DevEx Setup

只需从 DevEx Setup 修复 DevEx

回答by rjose

Here is the basic steps to display DevExpress toolbar; for beginners. Select View > Toolbox. Select anywhere on the toolbox and right click and select Add Tab. You need to name this tab. Right click on this new group, select Choose Items. A dialog box appears and it might take a while to load the components. If DevExpress components are not present here, click on Browse and select the dll files. This will add all the items to the new group.

以下是显示 DevExpress 工具栏的基本步骤;对新手而言。选择视图 > 工具箱。选择工具箱上的任意位置并右键单击并选择添加选项卡。您需要为此选项卡命名。右键单击这个新组,选择“选择项目”。将出现一个对话框,加载组件可能需要一段时间。如果此处不存在 DevExpress 组件,请单击浏览并选择 dll 文件。这会将所有项目添加到新组中。

回答by Nado

Lest do like this:
1. Open your visual studio
2. Open your solution, for example in mine is mngpwn (it's windows form app)
3. Set application target .net framework to .net 4.7 or above
4. On opened solution in visual studio solution exploler, open the form. In mine is Form1.cs [Design],
5. actived Toolbox, select General Tab,
6. Restore down the visual studio windows
7. Open windows explorer an go to folder of installed DexExpress dll file
8. Restore down the window exploler
9. select view as Detail View and then sort view by Type file
10. Go to window exploler, select the .dll stored. In mine is in C:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework,
11. Drag to general tab on toolbox,
12. Wait a momen. When appear the dialog window, click Ok,
13. Rename the general tab in tooolbox as you want,
14. Make new tab and move the group of DevExpress Component you want to group,
15. Done!
16. You now can use all of DevExpress component.
17. Do the same for web component in web solution type.

以免这样做:
1. 打开您的 Visual Studio
2. 打开您的解决方案,例如在我的是 mngpwn(它是 windows 窗体应用程序)
3. 将应用程序目标 .net 框架设置为 .net 4.7 或更高版本
4. 在打开的视觉解决方案工作室解决方案资源管理器,打开表单。我的是Form1.cs [设计],
5.激活工具箱,选择常规选项卡,
6.还原visual studio windows
7.打开windows资源管理器,转到已安装的DexExpress dll文件的文件夹
8.还原window exploler
9.选择视图为详细视图,然后按类型文件对视图进行排序
10. 转到窗口资源管理器,选择存储的 .dll。在我的是 C:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework,
11.
拖到工具箱上的常规选项卡,12. 稍等片刻。出现对话框时,单击确定,
13. 根据需要重命名工具箱中的常规选项卡,
14. 创建新选项卡并移动要分组的 DevExpress 组件组,
15. 完成!
16. 现在可以使用所有的 DevExpress 组件了。
17. 对 web 解决方案类型中的 web 组件执行相同的操作。