Project Properties > Build* vs Build Events

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
User avatar
rjpajaron
Posts: 364
Joined: Fri Nov 06, 2015 12:01 am

Project Properties > Build* vs Build Events

Post by rjpajaron »

Hello,

What takes precedence: Build* "Output > Platform Target = x86" or Above combobox "Platform > Active (Any CPU)"
12-28-2019 14-49-56.png
12-28-2019 14-49-56.png (14.38 KiB) Viewed 231 times
12-28-2019 14-50-17.png
12-28-2019 14-50-17.png (21.92 KiB) Viewed 231 times
For now, I let default settings to go by... Although in C# I have already a multi target platform config settings. I will apply the same on X# in the future. some of our .NET apps requires AnyCPU to work, especially the thing that deals with WebAPI.

Rene
User avatar
robert
Posts: 4478
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Project Properties > Build* vs Build Events

Post by robert »

Rene,
The setting on the Build page takes precedence. This gets translated into the command line for the compiler.
The other 'AnyCpu' platform is more like a 'Name' at solution level that is used to joins different settings for different projects.
You can also rename this to x86 if you want to.
To do that:
- open the platform combo from the toolbar
- choose configuration manager
- in the "active solution platforms" combo choose "edit"
- then select the AnyCpu platform and rename it to for example "x86"

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply