You should be able to eliminate the warning messages about the incompatible platform by setting the Target Platform of the Visual Studio Installer Project to x64 --
VS 2022 Release Project - problems with x86 / x64

Jim Jupiter
80
Reputation points
Hi,
I would like to test a project with VS Installer Project
Got this errors at create the project
-
WARNING
: File 'SQLite.Interop.dll' of project output 'Publish elements from TT2025 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'.
-
WARNING
: File 'TT2025.exe' of project output 'Publish elements from TT2025 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'.
-
ERROR
: File 'TT2025.dll' of project output 'Publish elements from TT2025 (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'.
-
WARNING
: File 'TT2025.dll' of project output 'Publish elements from TT2025 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'.
Don't know what to do - have choosen first AnyCPU tried to got to x64 - in the end should x64
Developer technologies | C#
11,582 questions