How to enable Assembly Language support in Visual Studio 2013

前端 未结 5 1140
既然无缘
既然无缘 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:12

    I had to right-click the .asm file first. MASM appeared in this context menu. After doing this, it appeared in the project's context menu as well. Seems like a issue with VS2015. Also, I am working on Windows 10 64-bit.

    In order to get the 64-bit versions to compile, I had to set the Entry Point option for the linker to main and I also had to set the LARGEADDRESSAWARE:NO option as well.

    This option can be found in VS2013 Pro under

    Configuration Properties->Linker->System->Enable Large Addresses

    Choose "No" in the drop-down.

提交回复
热议问题