Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all, I have a problem!!!
I have format my computer and reinstall visual studio (I have both Professional and Express) and I tried to build a little masm program, but when I click on properties of the project I found "Microsoft Macro Assembler" missing.
Is there any way to get it back??? Is there way to reinstall MASM again within visual studio??

Please help!!! I need answer quickly!!

thanx previously.
Posted

1 solution

If you reloaded your computer, you will also need to reinstall MASM. You can find the installer here[^].
 
Share this answer
 
Comments
[no name] 18-Jan-13 10:17am    
I already download it, but the setup tells me to install visual c++ express 2005 edition, and I have installed, but the MASM installer run and disappear without doing anything.
But if you see at this link you will find the requirements requires windows xp but my windows is 7, maybe this problem??
H.Brydon 18-Jan-13 17:36pm    
Well that makes it a bit messy.

C++ express 2005 seems to be available at http://www.microsoft.com/en-us/download/details.aspx?id=804

I would think that XP is the minimum Windows version and Win XP vs Windows 7 should not be a problem.

I would expect that installing MASM for VS2005 would make it available for your version of VS. If installing VS2005 after whatever version you have, don't check the "install symbols" box or your default VS will be VS2005 express. If this happens, the easiest fix is to reinstall your newer VS (ie. after VS2005).
H.Brydon 20-Jan-13 9:57am    
This also might be helpful:

http://www.codeproject.com/Articles/271627/Assembly-Programming-with-Visual-Studio-2010-2012
http://www.codeproject.com/Articles/410776/Integrating-a-compiler-assembler-in-VS-Using-NASM?msg=4453471#xx4453471xx

(second link says that MASM is integrated with VS2012; I didn't know that and don't know whether it comes with other versions).
[no name] 20-Jan-13 10:22am    
I don't know what to tell you?, MASM property has back from its own. I didn't anything!! In past the MASM property in project properties wasn't showed up, but now it is!!???
However, I have compiled a little program but an error occured: "error MSB3721: The command "ml.exe /c /nologo /Zi /Fo"Debug\main.obj" /W3 /errorReport:prompt /Tamain.asm" exited with code 1."
what's that mean?
[no name] 20-Jan-13 10:23am    
Here is the source code:
include 'win32ax.inc'

_hello db 'Hello World',0

_title db 'Hello World! from KernelRoot',0

main:
call MB

push 0

call [ExitProcess]

;============ MB function ==================
MB:
push 0

push _hello

push _title

push 0

call [MessageBox]

ret
;============ End MB ========================
.end main

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900