VS: Support add_custom_command in .Net SDK-style projects

Fixes: #26048
7 files changed