Platform shows x64-bit, but in Debug Properties the Platform shows "Any CPU".

Simon 446 Reputation points
2024-01-09T20:47:40.78+00:00

Platform shows x64-bit, but in Debug Properties the Platform shows "Any CPU".

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,084 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Simon 446 Reputation points
    2024-01-10T17:45:13.88+00:00

    In your project's properties for AnyCPU uncheck the box for "Prefer 32-bit" Thanks WHERE i can find the box to uncheck it

    0 comments No comments

  2. RLWA32 48,896 Reputation points
    2024-01-10T18:09:14.76+00:00

    @Simon, The checkbox is in your project properties for Build as shown below -Prefer32

    Don't forget to uncheck the box for both Debug and Release configurations.

    0 comments No comments

  3. Simon 446 Reputation points
    2024-01-10T18:47:17.3533333+00:00

    Thanks i didnt find the properties for Build how i can open it thanks in advence

    0 comments No comments

  4. Simon 446 Reputation points
    2024-01-10T18:54:45.4133333+00:00

    i see only Application, Compile in the compile tab i see the check box "Prefer 32-bit" and it is Unchecked - and it didint help the problem


  5. Simon 446 Reputation points
    2024-01-10T19:29:55.9266667+00:00

    the bug and release configurations. They have separate settings. can you please explain me WHERE to find the settings


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.