You work as a Software Developer for ManSoft Inc. You use C# .NET to create an assembly named TestAssembly that will be used by other applications, including a standard COM client application. You must deploy the assembly on the COM application to a client computer. You must ensure that the COM applications can instantiate components within the assembly as COM components.
Which of the following options will you use to accomplish this task?
A . Generate a registry file for the assembly by using the Assembly Registration Tool (Regasm.exe) and register the file on the client computer.
B . Deploy the assembly to the global assembly cache on the client computer.
Add a reference to the assembly in the COM client application.
C . Create a strong name of the assembly by using the Strong Name tool (Sn.exe).
D . Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe) and register the file on the client computer.
Answer: A
Leave a Reply