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

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 . Previously loaded assemblies
B . The application base or root directory
C . The Gacutil.exe tool in the Global Assembly Cache
D . Sub-directories in the application’s root directory
E . The culture attribute of the assembly
F . The correct version of the assembly
G . The assembly’s name

Answer: B,D,E,G

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments