"Tin Man" <> wrote in message
news:...
> This is an abbreviated question on the Transcender prep exam for 70-305:
> Which of the following tools can be used to install an assembly into the
> GAC?
>
> Gacutil.exe
> Windows Installer
> ngen.exe
> others are listed on the real question
>
> The transcender answer is just Gacutil.exe and Windows Installer. But
> ngen.exe, as we all know, creates a native image from an assembly and
> installs it into the native image cache area of the GAC. So I think
> ngen.exe should also be an answer.
I think if they were asking how to add an assembly to the native assembly
cache as opposed to the GAC in general, they would have specified this. The
native assembly cache is a separate part of the GAC, so unless they
specifically mention that this is where the assembly is going, you should
assume they mean the GAC where uncompiled assemblies go.
The key to questions like this in these exams is to take the question as
literally as possible. If the question doesn't mention native images, a tool
that specialises in native images is unlikely to be the answer they're
looking for. Really, what you need to ask yourself when faced with a
question like this isn't "what utilities can install assemblies into the
GAC?", but "what answer are they angling for?". Inspecting the wording of
the question will usually help you work out what they were thinking of
(except when it doesn't, and then you're really left scratching your head!

.
HTH!
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.840 / Virus Database: 571 - Release Date: 19/01/2005