适用于任何CPU的SQLEditors.dll

问题描述 投票:0回答:1

我只有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

c# .net visual-studio dll editor
1个回答
0
投票

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

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

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

© www.soinside.com 2019 - 2024. All rights reserved.