Answer the question
In order to leave comments, you need to log in
How to compile a .NET Core project in Any CPU mode?
In Visual Studio, you can compile projects into three architectures: 32-bit, 64-bit, and Any CPU. The latter is a universal binary for all Windows. Pretty handy thing, if you do not use some unmanaged DLL from the outside. How to compile the same binary via dotnet command line? The dotnet publish -r win-AnyCPU argument (instead of win-x86 or win-x64) doesn't work.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question