U
U
Uncle Bogdan2021-04-23 14:18:33
C++ / C#
Uncle Bogdan, 2021-04-23 14:18:33

How to make the program run on x32 bit systems?

The program with installed AnyCpu does not run on x32 bit systems. How to build for x32?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-04-23
@motkot

Most likely, dependencies did not get to the target computer.
In order for the dependencies to go along with the executable, you need to do not build, but publish.
I don’t remember how the studio can do this, so here is the command that needs to be entered into the console:

dotnet publish `
--project <путь к csproj> `
--configuration Release `
--runtime win-x86 `
--framework net5.0-windows `
--output <путь к папке, где надо будет положить исполняемые файлы>

D
Dmitry Pavlov, 2021-04-23
@Stalker31

Look at the project settings, maybe you don't need

32 bit version is preferred
, also look at the debugging options, it may have a 64-bit build system

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question