Interview Questions

How can you tell the application to look for assemblies at the locations other than its own install?

.NET Database ,COM interop,and .NET deployment questions and answers


(Continued from previous question...)

How can you tell the application to look for assemblies at the locations other than its own install?

Use the
directive in the XML .config file for a given application.

<probing privatePath=”c:\mylibs; bin\debug” />
should do the trick. Or you can add additional search paths in the Properties box of the deployed application.

(Continued on next question...)

Other Interview Questions