Hello,
Do I use the version of dotnet used for the VS compilation?
Yes. The same version or a higher one should be installed on the targeted machine so that your application can run.
If I have compiled the VS project for "Any CPU", do I need to select BOTH x86 and x64 in Advanced installer?
If you want to install only on 64-bits OSs, then you should go to "Install Parameters" page of your project and set the "Package type" field for 64-bit option. Otherwise, if you want to support both architectures of OSs, then you should choose the 32-bit option.
Finally, how do I know whether C++ redistributable is required and which version my VS project requires?
Unfortunately, I can't help you with that. You or the application developer should know exactly what dependencies the application has.
Best regards,
Catalin