devbuild fails: ClrHost.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'ARM64' #9158
Closed
inxdd-dev
started this conversation in
WiX Development
Replies: 1 comment
-
I did not want to uninstall my older toolsets for legacy software reasons, but decided to go ahead and do that. This fixed the issue pointed to by link included in post concerning older toolsets. With only the "latest" toolsets installed, the "devbuild" command worked out of the box, or as provided in github. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following closed discussion was not the cause of my error. I have the MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest)
Previous Closed Discussion #8563 (ARM buildtools) set was selected instead of (ARM64 buildtools) .
Windows 11 Enterprise 24H2 OSBuild 26100.4946
Visual Studio Professional 2022 17.14.13 (August 2025)
Followed instructions in README
All Workload prerequisites installed
All Individual Components installed
Repo Forked and cloned
Using VisualStudio 2022 Developer Command Prompt, >devbuild release
My Visual Studio has other toolsets and older versions of toolsets installed as well.
I found this post that sound like it could apply to this issue.
https://developercommunity.visualstudio.com/t/Default-value-of-MSVC-Toolset-is-not-doc/10398953
Has anyone else run into this and are there any workarounds?
Is there a way to only build x64 or x86 and not build ARM? I did not see a way to specify Platform in the build commands.
Beta Was this translation helpful? Give feedback.
All reactions