Which of the following will the CLR check to locate Assembly1?

Posted by: Pdfprep Category: GSSP-.NET Tags: , ,

Georgina works as a Software Developer for BlueChip Inc. She develops an application named App1 using Visual Studio .NET. The company wants her to deploy App1 to a customer’s laptop. Georgina creates an assembly named Assembly1 to be stored in the Global Assembly Cache so that the Common Language Runtime (CLR) can locate and bind Assembly1.

As the application executes, the CLR locates the path of Assembly1 through the codebase setting. But, it finds no <codebase> element in the app.config file, and fails to bind Assembly1. Now, the CLR tries to locate Assembly1 through probing.

Which of the following will the CLR check to locate Assembly1? Each correct answer represents a part of the solution. Choose all that apply.
A . The culture attribute of the assembly
B . Sub-directories in the application’s root directory
C . The application base or root directory
D . The Gacutil.exe tool in the Global Assembly Cache
E . Previously loaded assemblies
F . The assembly’s name
G . The correct version of the assembly

Answer: A,B,C,F

Leave a Reply

Your email address will not be published.