Well, I was close. It couldn't find the
Microsoft.ApplicationBlocks.Cache assembly.
Since that assembly is now in the Global Assembly Cache
(GAC), I had modify my application's app.config file,
like so;
<section name="CacheManagerSettings"
type="Microsoft.ApplicationBlocks.Cache.CacheConfiguration
Handler,Microsoft.ApplicationBlocks.Cache,Version=1.0.0.0,
Culture=neutral,PublicKeyToken=d6cd69ca51c7ac55" />
This was "no big deal" for me to figure out, but for a
novice this could be a real pain.
The help file goes into some detail about how to sign an
assembly so that it can be installed in the GAC. But
then it doesn't bother to even mention that your
app.config will need to be modified.
Why isn't the source for the help available? It sure
could use a little love.
[quoted text, click to view] >-----Original Message-----
>I'm trying to use the caching application block in
>conjunction with the global assembly cache.
>
>It's blowing up, early in the CacheManager constructor
>i.e. string mode = ...
>
>I'll have time to look at this tomorrow, but in the
>meantime I was wondering if anyone had any experience
>with this application block and the GAC.
>
>I suspect that it's not finding some config file (not
>surprisingly) but the documentation is a little light in
>this area.
>
>Of course everything works fine when I reference the
>projects (or assemblies) directly.
>
>Thanks,
>Brad
>
>.