Unity使用AnyCPU和x64 .dlls编译,但不使用x86 .dlls编译

时间:2018-11-20 22:33:37

标签: c# c++ unity3d dll compilation

我有一个同时使用.NET3.5 C# .dllnative C++ .dll的Unity项目。 首先,当我对插件使用以下构建设置时,该项目将构建并运行:

  • 对于C#Dll:调试AnyCPU
  • 对于C ++ Dll:x64版

但是,我想以32位格式构建整个项目,所以我要这样做:

  • 将所有单位设置从AnyCPU更改为x86
  • 构建C#Dll:x86版
  • 构建C ++ Dll:x86版

在这一点上,我似乎无法引用我已经构建的任何DLL,也就是The type or namespace name does not exist in the namespace (are you missing an assembly reference?)

Unity无法找到x86 dll的原因可能是什么?

0 个答案:

没有答案
相关问题