Prefer 32 bit property Build VS.Net Solution

How can I set the Prefer-32 bit property to true in the before action scripting (javascript) for a Build VS.Net Solution?

Hi Daniel Schipper,

I am not sure which property your referring to as there is no property on the Build VS.Net Solution action called “Prefer-32 bit”. The 32bit properties that I can think of are:

Action.UseWin32PropertySet = true;
Action.Action.UseWin32PropertySet = “Release|x86”;

In the image below you will see that you support allow unsafe and optimize in scripting but seem to have missed the Prefer 32-bit. I really need to support this property rather than manually change it in all my projects. Any help would be great, thanks.

Hi Daniel

If you are using MSBuild (the default for newer vs versions), you can set this property on the MSBuild tab :

Prefer32Bit = false

I haven’t found a way to provide this to devenv. Interestingly, in VS2017 I can’t find any situation where that checkbox is not disabled.

I am assuming this would be the final result, correct?