Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build warning: There was a mismatch between the processor architecture #82

Open
nikeee opened this issue Oct 3, 2021 · 0 comments
Open

Comments

@nikeee
Copy link
Owner

nikeee commented Oct 3, 2021

We get this warning when building:

warning MSB3270:  of the project being built "MSIL" and the processor architecture of the reference "C[...]\packages\nud2dlib-x64\2.0.0\lib\net5.0-windows7.0\d2dwinform.dll", "AMD64".
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.

Obviously, this originates from nud2dlib, which is used in the area selector. That library is compiled against a specific ISA. HS is currently built with AnyCPU + Prefer-32-Bit.

HS requires a 64 bit OS, so we could go all-in on x64. Or go all-in 32 bit for whatever reason.

This should be evaluated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant