Build it with a batch file, solves all of those problems. That is how I built your older versions.
That's the simplest and best approach - if you're just interested in having a working binary.
However, if you want to play with the assembler source and run the assembler inside the VC debugger, it's a bit easier if you can create and debug the executable inside the IDE.
In the meantime, I found the (minimal) correct settings.
file tasks.vs.json:
{
"version": "0.2.1",
"tasks": [
{
"taskLabel": "Task-Msvc64",
"appliesTo": "Msvc64.mak",
"type": "launch",
"contextType": "build",
"command": "nmake",
"args": [
"-f Msvc64.mak",
"debug=1"
]
},
{
"taskLabel": "Task-Msvc64",
"appliesTo": "Msvc64.mak",
"type": "launch",
"contextType": "clean",
"command": "nmake",
"args": [
"-f Msvc64.mak",
"clean",
"debug=1"
]
}
]
}
file launch.vs.json:
{
"version": "0.2.1",
"defaults": {},
"configurations": [
{
"type": "default",
"project": "build\\MSVC64D\\jwasm.exe",
"projectTarget": "",
"name": "jwasm.exe"
}
]
}
Finally, in file Msvc64.mak, you should change a line:
!if $(DEBUG)
extra_c_flags = -ZI -Od -DDEBUG_OUT
!else