无法手动或自动将 ILNumerics 控件添加到 VS2012 工具箱中 [英] Unable to add ILNumerics controls into VS2012 toolbox manually or automatically

查看:33
本文介绍了无法手动或自动将 ILNumerics 控件添加到 VS2012 工具箱中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试按照 http://ilnumerics.net/中的说明进行操作Visualization-api-quick-start-guide.html 使 ilnumerics 工作.到目前为止,我一直无法在我的工具箱上使用 ILnumerics 控件.

I am trying to follow the instruction in http://ilnumerics.net/visualization-api-quick-start-guide.html to get ilnumerics working. I have so far been unable to ILnumerics controls on my toolbox.

我尝试了来自 Nuget 的所有三个独立软件包

I tried all three separate package from Nuget

1) ILNumerics (AnyCPU)2) ILNumerics.32bit3) ILNumerics.64bit

1) ILNumerics (AnyCPU) 2) ILNumerics.32bit 3) ILNumerics.64bit

这些包确实会加载到我的 .csproj 中,但 IlNumerics 控件未在工具箱中列出.所以我尝试手动添加它们.我右键单击我的工具箱并选择选择项目".这会将我带到 .Net framework components 选项卡,在那里我选择 Browse 按钮​​并尝试加载 DLL.对于以上三种情况,我收到以下错误

These package do get loaded to my .csproj, but the IlNumerics Controls are not listed in the toolbox. So I tried to add them manually. I right click on my tool box and select 'Choose items'. This takes me to .Net framework components tab, where I select the Browse button and try to load the DLL. I get the following errors for above three cases

1) ILNumerics.dll : ILNumerics.dll 中没有可以放入工具箱的组件.2) ILNumerics.32.dll : ILNumerics32.dll 中没有可以放入工具箱的组件.3) ILNumerics.64.dll : 文件 ILNumerics64.dll 无效.(注意:这是与前两种情况不同的错误)

1) ILNumerics.dll : There are no components in ILNumerics.dll that can be placed in the toolbox. 2) ILNumerics.32.dll : There are no components in ILNumerics32.dll that can be placed in the toolbox. 3) ILNumerics.64.dll : The file ILNumerics64.dll is not valid. (Note: this is a different error than previous two cases)

我使用的是Microsoft Visual Studio Ultimate 2012",操作系统是Microsoft Windows 7 Professional,系统类型是基于X64的PC.

I am using "Microsoft Visual Studio Ultimate 2012", OS is Microsoft Windows 7 professional, and the system type is X64-based PC.

我不确定这是否相关,但是当我在上述三个 dll 上运行依赖项walker时.ILNumerics.dll 和 ILNumerics.32.dll 出现以下错误错误:找到了具有不同 CPU 类型的模块"

I am not sure if this relevant but when I ran dependency walker on the above three dlls. I got the below error for ILNumerics.dll and ILNumerics.32.dll "Error: Modules with different CPU types were found"

我还可以执行 http://ilnumerics.net/quickstart.html<中给出的控制台应用程序示例/a> 使用上面显示的所有三种方式.

I am able also to execute the console application example give in http://ilnumerics.net/quickstart.html using all three ways shown above.

推荐答案

我也遇到了这个问题.我的解决方法是从工具箱中拖出一个简单的面板,然后获取并编辑 InitializeComponent() 函数并将成员的类型更改为 ILPanel.在此之后,我可以访问 ILPanel 属性

I also had this problem. My workaround is to drag a simple Panel from the toolbox and then got and edit the InitializeComponent() function and change the type of the member to ILPanel. After this I have access to the ILPanel properties

这篇关于无法手动或自动将 ILNumerics 控件添加到 VS2012 工具箱中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆