This is a migrated thread and some comments may be shown as answers.

[Solved] Missing 'CacheBase' after update to 2011-2

1 Answer 34 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andreas
Top achievements
Rank 1
Andreas asked on 15 Aug 2011, 12:33 PM
After Update from Telerik.Web.MVC Version 2010-2 to Telerik.Web.MVC Version 2011-2 for MVC 2 I get an error.
The error states that CacheBase (and GetOrCreate) cannot be found.
Thanks in advance for any help.

Herer is a code snippet:
using Telerik.Web.Mvc.Extensions;
using Telerik.Web.Mvc.Infrastructure;
class PropertyCache : CacheBase<string, PropertyInfo>
{
    public PropertyInfo GetProperty(Type type, string key)
    {
        Guard.IsNotNull(type, "type");
        Guard.IsNotNullOrEmpty(key, "key");
 
        Func<PropertyInfo, bool> canInclude = property => CreateMatchingGet(property)();
 
        return GetOrCreate(key, () => { return type.GetProperty(key, BindingFlags.Public | BindingFlags.Static | BindingFlags.GetProperty); });
    }

1 Answer, 1 is accepted

Sort by
0
Andreas
Top achievements
Rank 1
answered on 23 Aug 2011, 09:30 AM
I put the thread into "General Discussions - this ("Installer and VS Extensions") is simply the wrong place for my question.
Tags
Installer and VS Extensions
Asked by
Andreas
Top achievements
Rank 1
Answers by
Andreas
Top achievements
Rank 1
Share this question
or