title: How do you compile assembly code using Visual Studio 2017?
body: <p>One would hope that using assembly in Microsoft Visual C++ 2017 would be almost as easy (for those like me who have been writing assembly for over 50 years) as C/C++. These hopes have been dashed. </p>
  
  <p>The help I find online says to Right click on your project’s name and choose “Build Dependencies” then “Build Customizations…”. Or “Project->(right click)->Build Dependencies->Build Customizations...->(check) masm” which is a non-starter because Project->(right click)->Build Dependencies is not an offered choice.</p>
  
  <p>My code assembles from ml64 after removing a few items that masm requires to know the target processor type. And FWIW it appears that extern "C" void myAsmFunc(unsigned int*); requires ‘public _myAsmFunc’. I find that added under bar annoying. </p>
  
  <p>So how do I get not just this particular .asm to assemble but define a general rule for all ml64 assembly code? (It would be nice to enable masm for 32-bit targets. But that’s not what I’m asking.)</p>