问题描述
我试图按照 http://ilnumerics.net/指令可视化-API的快速启动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.32bit3) ILNumerics.64bit
这些包都被装载到我的.csproj,但IlNumerics控件不工具箱中列出。于是,我就手动添加。我右键单击我的工具箱,选择选择项。这需要我到.NET框架组件选项卡,在这里我选择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无效。 (注:这是一个不同的错误比previous两宗)
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)
我使用微软的Visual Studio 2012旗舰版,操作系统是微软Windows 7专业版,并且系统类型是基于X64的PC。
I am using "Microsoft Visual Studio Ultimate 2012", OS is Microsoft Windows 7 professional, and the system type is X64-based PC.
我不知道这有关,但是,当我跑的Dependency 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 使用上述所有三种方式。
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工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!