You are creating a Windows application by using the .NET Framework 3.5.
You configure the deployment project of the application to deploy an assembly named MyClass.dll to the
global assembly cache (GAC).
You replace the existing version of the application with an updated version.
You discover that because of the presence of an old version of MyClass.dll assembly in the GAC, the
updated version does not function properly.
You need to ensure that when the application is uninstalled for replacement, the MyClass.dll assembly is
deleted from the GAC. What should you do?
A.
Set C:\WINDOWS\Assembly as the destination folder for the deployment project.
B.
Write a VBScript code segment to remove the MyClass.dll assembly from the GAC. Create a custom
action to trigger the script.
C.
Configure the deployment project to deploy the MyClass.dll assembly to the GAC special folder by
using the File Editor tool.
D.
Include a single custom action in the deployment project to deploy the MyClass.dll assembly by using
the GACUTIL.exe utility along with the /I switch.