PrepAway - Latest Free Exam Questions & Answers

Which commands should you run?

DRAG DROP
You create an assembly named Assembly1.dll.
You need to ensure that Assembly1.dll can be deployed to the global assembly cache (GAC).
Which commands should you run? (To answer, drag the appropriate programs to the correct
locations. Each program may be used once, more than once, or not at all. You may need to drag the
split bar between panes or scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

3 Comments on “Which commands should you run?

  1. Lord Vader says:

    question is : You need to ensure that Assembly1.dll can be deployed to the global assembly cache (GAC).
    Which commands should you run?

    this means: Only strong-named assemblies can be installed into the GAC




    0



    0
  2. trimegisto says:

    Strong Name Scenario

    The following scenario outlines the process of signing an assembly with a strong name and later referencing it by that name.

    Assembly A is created with a strong name using one of the following methods:

    Using a development environment that supports creating strong names, such as Visual Studio 2005.

    Creating a cryptographic key pair using the Strong Name tool (Sn.exe) and assigning that key pair to the assembly using either a command-line compiler or the Assembly Linker (Al.exe). The Windows Software Development Kit (SDK) provides both Sn.exe and Al.exe.

    https://docs.microsoft.com/en-us/dotnet/framework/app-domains/create-and-use-strong-named-assemblies




    2



    0

Leave a Reply