Reputation: 63
I'm trying to debug a small assembly program using Visual studio community 2017 and masm32 on windows 10(64-bit). But I'm keep getting this error:
In my project, I defined a windows 10 subsystem. After that, I connected visual studio to masm32 using "right click on my project"=> "Build Dependencies" => "Build Customizations" => "masm"
Here is my very small program:
include \masm32\include\masm32rt.inc
.data
.code
main proc
ret
main endp
end main
But I'm unable to start debugging.
Here is what I've tried until now:
Restart visual studio several times, Delete all the existing projects and recreate them.
Use other directories for my projects.
Reinstall masm32.
But nothing seems to work. Any help will be appreciated!
Upvotes: 3
Views: 3127
Reputation: 13008
The only time I had this error (which was in Visual Studio 2019) I eventually figured out that disabling Resharper & then restarting VS fixed it.
Upvotes: 3