How to enable Assembly Language support in Visual Studio 2013

前端 未结 5 1152
既然无缘
既然无缘 2020-12-01 06:40

I have been searching around and everyone provides just a simple answer

Right-click the project, Custom Build Rules, tick \"Microsoft Macro Assembler\

5条回答
  •  隐瞒了意图╮
    2020-12-01 07:20

    Go to Project (you'll find it in the top menu) > Build Customizations...

    And check the masm option.

    Further, in some cases (like when working with x64), the linker might have some problems finding main. To solve that, you need to manually create an entry point by:

    1. going to Project > Properties : [a dialog opens]
    2. in the dialog, select "Configuration Properties" > "Linker" > "Advanced"
    3. There you'll find a field called "Entry Point". If it is blank, open its drop down menu and select edit.
    4. write "main" and click ok, and ok once again on the main dialog.

    It should work fine after this

提交回复
热议问题