Welcome to MSDN Blogs Sign in | Join | Help

disableCachingBindingFailures

In .Net framework 2.0, we will cache assembly loading failures. (See http://blogs.msdn.com/junfeng/archive/2004/07/22/190813.aspx for more detail.)

Not everyone like the decision. To opt out this, add the following snippet to your app.config file.

<configuration>

            <runtime>

                        <disableCachingBindingFailures enabled="1" />

            </runtime>

</configuration>

 

Published Monday, March 13, 2006 6:16 PM by junfeng
Filed under: ,

Comments

# re: disableCachingBindingFailures

Monday, March 13, 2006 10:32 PM by Dean Harding
Heh, love the double negatives :-)

# re: disableCachingBindingFailures

Tuesday, March 14, 2006 4:52 AM by David Levine
Hello Junfeng,

I'm one of those people who did not like the decision to cache the failures, so I'm also one of those people who like the ability to turn it off. :-) Is the capability to opt-out present in the 2.0 framework?

There are lots of settings that can affect the behavior. Is there a central location that documents all these settings? Or even better, a configuration tool that puts a GUI on top of all the different settings for the app.config file?


# re: disableCachingBindingFailures

Tuesday, March 14, 2006 5:19 AM by junfeng
Yes, this works in v2.0 RTM.

Yes, there are lots of settings. Yes, the documentation is lacking. Yes, we are working on it. No, there is no GUI tool.
New Comments to this post are disabled
 
Page view tracker