0
votes

We have an installer project (created through WixInstaller template) , it's in the solution where other projects are also present. Installer project unable to create the MSI installer due to build failure while the entire solution compiling in build server. Error is - The project "XXXXXX" is not selected for building in solution configuration "Release|Any CPU". From Solution I am unable to configure it as "Any CPU" in Platform. It has few options
1. x86 2. New 3. Edit.

Tried so many ways but did not found "Release | ANY CPU" option.

PLATFORM Dialoge box -

NO OPTION "ANY CPU" in installer project

"ANY CPU Is coming for other project

Locally Installer project created the MSI (installer) file.

Thanks in advance for your help / suggestion.

Best Regards, Deb

1
I cannot reproduce that issue (a solution contains a window form app and WIX app), can you share a simple solution that can reproduce that issue on the OneDrive?starian chen-MSFT

1 Answers

0
votes

The Error is in the solution level.

In the configuration manager on the top of the dialog you can change the solution configuration.

Set "Active Solution Configuration" to Release and "Active solution platform" to Any CPU.

Then go to your Wix project as in the screenshot you have added and check the checkbox to build it.