how to fix that visual studio debug starting problem

Suraj Tiwari 0 Reputation points
2023-04-22T12:39:58.3866667+00:00

Error while trying to run project: Cannot start debugging. The assembly to be debugged was built with a platform incompatible with the current system.

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-04-24T06:49:37.59+00:00

    Hi @Suraj Tiwari, 

    Welcome to Microsoft Q&A! 

    What is your project type? 

    Please go to Build > Configuration Manager > choose the desired platform (processor architectures). 

    For more details, please refer to: How to: Configure projects to target platforms

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.