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]…
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
Options
- ASvcutil.exe tool
- Bpublicize.exe tool
- CILDasm.exe tool
- DIlasm.exe tool
How the community answered
(41 responses)- A5% (2)
- B7% (3)
- C2% (1)
- D85% (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
Community Discussion
No community discussion yet for this question.
