Which tool should you run?

You have a web server that hosts several web applications.
From Microsoft Visual Studio, you create an assembly that is signed.
You need to make the assembly available to all of the web applications on the web server. The solution must minimize the number of copies of the assembly.
Which tool should you run?
A. gacutil.exe
B. sn.exe
C. tlbImp.exe
D. regasm.exe

microsoft-exams

2 thoughts on “Which tool should you run?

  1. The assembly is already signed. No need to call sn.exe again.
    The answer is A.

    “You can install only strong-named assemblies into the global assembly cache.”
    That’s why the question specified the assembly is signed.
    https://docs.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac

    The question also states the following:
    “The solution must minimize the number of copies of the assembly.”
    This is the GAC’s purpose:
    https://docs.microsoft.com/en-us/dotnet/framework/app-domains/working-with-assemblies-and-the-gac

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.