Microsoft Certified Solutions Developer (MCSD) Certification Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Certified Solutions Developer Test with flashcards and multiple choice questions. Each question comes with hints and explanations. Boost your confidence for the exam day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What file is used to redirect one version of an assembly to another?

  1. Policy file

  2. AssemblyInfo.cs

  3. App.config

  4. VersionControl.xml

The correct answer is: Policy file

The policy file is used for assembly binding redirection, which allows an application to redirect one version of an assembly to another, often to resolve version conflicts or to update to a newer assembly version without modifying the application code. This is essential in the .NET framework, where applications might reference multiple versions of the same assembly. When assemblies are deployed, different versions may be present. The policy file can be configured to specify that whenever a certain version is requested, a different version (often a newer or more stable one) is used instead. This ensures that applications can maintain compatibility with the code while leveraging updates or fixes introduced in newer assembly versions. Other options may involve aspects of .NET development but do not specifically address assembly redirection. AssemblyInfo.cs is used for assembly attributes; App.config holds application settings but does not cater to assembly redirection at the version level. VersionControl.xml is not a standard .NET file for this purpose, focusing more broadly on version management rather than assembly binding.