Skip to content

Unhandled exception. System.TypeLoadException: Method 'get_Count' in type 'System.Runtime.Caching.Configuration.MemoryCacheSettingsCollection' from assembly 'System.Runtime.Caching, Version=4.0.0.0, #35

Description

@imclint21

Hi,

Just got this:

 23:17:05 hcu manager[2661538]: Unhandled exception. System.TypeLoadException: Method 'get_Count' in type 'System.Runtime.Caching.Configuration.MemoryCacheSettingsCollection' from assembly 'System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.
Oct 13 23:17:05 hcu manager[2661538]:    at System.Runtime.Caching.MemoryCacheStatistics.InitializeConfiguration(NameValueCollection config)
Oct 13 23:17:05 hcu manager[2661538]:    at System.Runtime.Caching.MemoryCacheStatistics..ctor(MemoryCache memoryCache, NameValueCollection config)
Oct 13 23:17:05 hcu manager[2661538]:    at System.Runtime.Caching.MemoryCache.InitDisposableMembers(NameValueCollection config)
Oct 13 23:17:05 hcu manager[2661538]:    at System.Runtime.Caching.MemoryCache.Init(NameValueCollection config)
Oct 13 23:17:05 hcu manager[2661538]:    at System.Runtime.Caching.MemoryCache..ctor(String name, NameValueCollection config)
Oct 13 23:17:05 hcu manager[2661538]:    at IPinfo.Cache.CacheWrapper.InitMemoryCache(CacheConfigurations config)
Oct 13 23:17:05 hcu manager[2661538]:    at IPinfo.Cache.CacheWrapper..ctor(CacheConfigurations config)
Oct 13 23:17:05 hcu manager[2661538]:    at IPinfo.Cache.CacheWrapper..ctor()
Oct 13 23:17:05 hcu manager[2661538]:    at IPinfo.Cache.CacheHandler..ctor()
Oct 13 23:17:05 hcu manager[2661538]:    at IPinfo.IPinfoClientLite.Builder..ctor()

And for information I use:

private readonly IPinfoClientLite _ipInfoClient = new IPinfoClientLite.Builder()
		.AccessToken(thirdPartyServicesOptions.CurrentValue.IpInfoApiKey)
		.Build();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions