rippo
rippo

Reputation: 21

Cannot Debug in VS2017 with Windows 10

I have a solution with 4 projects, three of them are C++, and one is C#. I am trying to debug the C# one, but am unable to. Every single time I try, I get an error that says

Unable to start debugging. check your debugger settings by opening project properties and navigating to 'Configuration Properties -->Debugging'

Configuration is Debug, and the Platform is Any CPU. I am not debugging on a remote machine.

I have VS2017 installed on Windows 10.

Upvotes: 2

Views: 5996

Answers (1)

Leo Liu
Leo Liu

Reputation: 76928

Cannot Debug in VS2017 with Windows 10

According to the error message:

check your debugger settings by opening project properties and navigating to 'Configuration Properties -->Debugging'

This should be the debuger settings for C++ project rather than C# project:

C++:

enter image description here

C#:

enter image description here

So, first, you should make sure your StartUp Project is C# project. And for the C++ project, you can create a new blank C++ project, then compare the debugger settings of the problematic project with the settings of the new project.

Hope this helps.

Upvotes: 5

Related Questions