nerdexam
Microsoft

98-372 · Question #61

Allen is creating an application using .NET Framework 4.0. He needs a tool to generate portable executable files from Microsoft intermediate language (MSIL)? Which tool will he use?

The correct answer is D. Ilasm.exe tool. MSIL Assembler (Ilasm.exe) is a tool used to generate portable executable files from Microsoft intermediate language (MSIL). Running the resulting executable determines whether or not MSIL performs as expected. Following is the syntax for using Ilasm.exe: ilasm [options]…

Understanding .NET Framework Concepts

Question

Allen is creating an application using .NET Framework 4.0. He needs a tool to generate portable executable files from Microsoft intermediate language (MSIL)? Which tool will he use?

Exhibit

98-372 question #61 exhibit

Options

  • ASvcutil.exe tool
  • Bpublicize.exe tool
  • CILDasm.exe tool
  • DIlasm.exe tool

How the community answered

(41 responses)
  • A
    5% (2)
  • B
    7% (3)
  • C
    2% (1)
  • D
    85% (35)

Explanation

MSIL Assembler (Ilasm.exe) is a tool used to generate portable executable files from Microsoft intermediate language (MSIL). Running the resulting executable determines whether or not MSIL performs as expected. Following is the syntax for using Ilasm.exe: ilasm [options] filename [ [options]filename...] where, filename specifies the name of the source file comprising metadata declaration directives and MSIL instructions, and the term options specifies the options to be used. Following are the options that are commonly used with Ilasm.exe: Answer: A is incorrect. The Svcutil.exe tool stands for ServiceModel Metadata Utility Tool that is used to generate service model code from metadata documents and metadata documents from service model code. The Svcutil.exe tool can be found at the Windows SDK installation location, particularly at C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin. Answer: C is incorrect. The Microsoft Intermediate Language Disassembler (ILDasm.exe) is a tool that comes with the Microsoft Intermediate Language Assembler (ILasm.exe). It allows users to view the internal types, underlying IL, metadata, and assembly manifest for a given managed binary. It operates only on Portable Executable (PE) files. Answer: B is incorrect. The publicize.exe tool is a command-line tool that generates an assembly that holds public types. These public types bind all the private types in another assembly. A user uses publicize.exe tool to help create unit tests that target private types. The generated assembly is also identified as a private accessor. The user can also generate private accessors from the Integrated Development Environment (IDE), but he might use publicize.exe instead in Automation, scripting, and build scenarios.

Topics

#Ilasm.exe#MSIL#portable executable#.NET tools

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice