Re: Why does VS try to parse my .inc (assembler include files) as XML?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 10/10/05 17:24, in article u6REAofzFHA.1132@xxxxxxxxxxxxxxxxxxxx, "Ole
Nielsby" <ole.nielsby@xxxxxxxxxxxx> wrote:

> I'm migrating an assembly language project from NASM to MASM
> (yes I know they say assembly is dead but I have good reasons).
>
> I managed to convert the files to MASM syntax and assemble
> most of them. However, when the assembly fails because of
> trouble in the include files (*.inc), VS tries to parse them as
> XML and spews a shower of error messages when this fails.
>
> I'm not too familiar with VS - how do I tell VS that the .inc
> files should be treated as plain text and not XML?
>
> I tried to use *.ina instead of *.inc but the problem prevails.
>
> I'm using VS2005 beta 2. (Yes, I really need to combine
> assembly language with the .NET2 framework - and no,
> it's not for reverse engineering.)
>
> ON/Remove the slow slimy animal from my reply address
>
>
File | Open
Click little arrow on the Open button
Choose Open With...
Select 'Text Editor'
Click 'Set as Default'.

Thanks
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights

.



Relevant Pages

  • Re: When to emit diagnistics
    ... "char is different from signed char and unsigned char. ... I am just an "assembly language programmer". ... I assemble it ... jacob at jacob point remcomp point fr ...
    (comp.lang.c)
  • Re: Windows Assembly
    ... language is a perfectly valid assembly language in my opinion. ... It's just that the HLA program is not an assembler, it creates output for MASM and so it is a preprocessor. ... I guess there's a similar debate on wether or not GCC compiles the C code, or if GCC and GAS as a unit compile the C code. ... If what HLA does is assemble programs, then we can make a similar version of MASM, one that assembles it's programs by converting them to HLA. ...
    (alt.lang.asm)
  • Why does VS try to parse my .inc (assembler include files) as XML?
    ... I'm migrating an assembly language project from NASM to MASM ... I managed to convert the files to MASM syntax and assemble ... XML and spews a shower of error messages when this fails. ...
    (microsoft.public.vsnet.general)
  • RosAsm is 20x Faster than MASM, NOT!
    ... than MASM (you'd think by now he'd figure out that this is utter nonsense ... Now I'm not going to bother to convert RotAsm source code to MASM format, ... RosAsmites - the source code to HLA v2.0 is on-line, assemble it and try ...
    (alt.lang.asm)
  • Re: What is an assembler?
    ... "You state 'Assembles using TASM and MASM.' ... I have MASM 6.11, but have yet to figure out what is what. ... I wouldn't think so, but then again, I probably wouldn't just assemble ... Maybe you didn't read the text on the web site very thoroughly yet. ...
    (alt.lang.asm)