I'm using Visual Studio Setup Project to create installer for my application.
One of the files needs to included or excluded depending upon whether the target machine is 32 or 64-bit. The setup project does have a property named TargetPlatform
. Can I use it in Condition
property of that file to achieve this?
I already went ahead and tried writing the condition: [TARGETPLATFORM] = 'x86'
. But it doesn't seem to work.
This is VS2019 Community.