You use Visual Studio .NET to create an application that uses an assembly. The assembly will reside on
the client computer when the application is installed. You must ensure that any future applications
installed on the same computer can access the assembly.

Which two actions should you take? (Each correct answer presents part of the solution. Choose two)

A. Use XCOPY to install the assembly in the global assembly cache.
B. Use XCOPY to install the assembly in the Windows\Assembly folder.
C. Create a strong name for the assembly.
D. Recompile the assembly by using the Native Image Generator (Ngen.exe).
E. Modify the application configuration file to include the assembly.
F. Use a deployment project to install the assembly in the global assembly cache.
G. Use a deployment project to install the assembly in the Windows\System32 folder.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

C and F
f_asmaaAuthor Commented:
Why not C,E
The global assembly cache stores assemblies specifically designated to be shared by several applications on
the computer.

C: An assembly must have a strong name to be installed in the global assembly cache.
F: There are two ways to install an assembly into the global assembly cache.

Using Microsoft Windows Installer. This could be achieved by a deployment project.
Using the Global Assembly Cache tool (Gacutil.exe).

Option E is not relevent here. If you include the assembly using Application config file , it wont get installed in GAC.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.