Learning Curve…

How can you debug failed assembly binds?

Posted on: October 24, 2011

Question: How can you debug failed assembly binds?
Answer
: Use the Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.

Question: How can you tell the application to look for assemblies at the locations other than its own install?
Answer: 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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Author

Learning days (Calendar)

October 2011
M T W T F S S
« Sep   Nov »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Knowledge Bank (Archives)

I am on Twitter

Blog Stats

  • 507,854 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 43 other followers

%d bloggers like this: