0

The Compile button is grayed out when .asm files are right clicked from the Solution Explorer in Microsoft Visual C++ 2010 Express (with the Hotfix and Security Updates installed)

masm is enabled in the Build Customizations for the project

  • Right-click the .asm file, Properties, change Item Type to "Microsoft Macro Assembler". And make sure that you actually have the assembler installed. – Hans Passant Feb 06 '12 at 21:25
  • That enabled the menu item, so thank you. However, it also returned this error when being compiled: 1>MASM : fatal error A1000: cannot open file : test.asm 1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\masm.targets(49,5): error MSB3721: The command "ml.exe /c /nologo /Zi /Fo"Debug\test.obj" /W3 /errorReport:prompt /Tatest.asm" exited with code 1. – TheResolute Feb 06 '12 at 21:56
  • http://stackoverflow.com/a/7816858/571578 – Romaine Carter Feb 20 '12 at 15:07

0 Answers0