VS 2022 Release Project - problems with x86 / x64

Jim Jupiter 80 Reputation points
2025-03-18T20:00:29.27+00:00

Hi,

I would like to test a project with VS Installer Project

Got this errors at create the project

  1. 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'.
  2. WARNING: File 'TT2025.exe' of project output 'Publish elements from TT2025 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'.
  3. ERROR: File 'TT2025.dll' of project output 'Publish elements from TT2025 (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'.
  4. 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#
{count} votes

Accepted answer
  1. RLWA32 49,666 Reputation points
    2025-03-19T00:05:24.31+00:00

    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 --

    InstallerPlatform

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.