A
A
ATauenis2020-05-08 12:48:28
MSBuild
ATauenis, 2020-05-08 12:48:28

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

1 answer(s)
R
Roman, 2020-05-09
@yarosroman

Well, win32 will definitely work in x64.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question