适用于任何CPU的SQLEditors.dll

时间:2017-12-26 22:41:41

标签: c# .net visual-studio dll editor

我只有x86的dll SQLEditors我需要它用于任何cpu或至少64位
 所以我得到了这个警告:

Warning 17 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "SQLEditors", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets 1635 5 Sqaddin 我在哪里可以获得此dll(SQLEditors)?
(我需要在class 'SqlScriptEditorControl'中使用它,你可以看到更多细节:
the reason I need this dll

1 个答案:

答案 0 :(得分:0)

如何将应用程序限制为仅运行为32位/ x86?

历史上,本机代码总是被编译为一个双重性。与此相反,.NET的MSIL与位无关:如果我们为这些二元组件获得了一个框架,那么相同的MSIL可以作为x32,x64运行 - 甚至是x16和x128。

如果你需要x64用于内存或其他原因,通常的方法是为这个本机调用创建一个x32唯一的辅助进程,让Helper和Main Process通过任何进程间通信方式进行通信。