1.

You use Visual Studio .NET to create an assembly, called XYZAssembly, that will be used by other applications, including a standard COM client application._x005F_x000D_ You must deploy your assembly on the COM application to a client computer. You must ensure that the COM application can instantiate components within the assembly as COM components._x005F_x000D_ What should you do?

A. Create a strong name of the assembly by using the Strong Name tool (Sn.exe).
B. Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe). Register the file on the client computer.
C. Generate a registry file for the assembly by using the Assembly Registration tool (Regasm.exe) Register the file on the client computer.
D. Deploy the assembly to the global assembly cache on the client computer. Add a reference to the assembly in the COM client application.
Answer» D. Deploy the assembly to the global assembly cache on the client computer. Add a reference to the assembly in the COM client application.


Discussion

No Comment Found