Artifacts Published folder empty for x64 bit build in azure pipeline


I’m new to Azure DevOps,
we want to build our project to release x64 bit and copy the files to our VM.
(I succeed to do it for 32 bit and it’s working great. )

In the image, you can see the configuration for this pipeline to build the solution as x64
the $(buildPlatform) variable set to x64.
enter image description here

When I run the pipeline the build success but the Artifacts Published folder almost empty
(It worked for 32 bit )

We using the default Azure Pipelines agent

enter image description here

Any idea why the Published folder working for 32bit but empty for 64 bit (even the pipeline success )?

Source: Visual Studio Questions