Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeLoad exception thrown in v1.0.0.3 #2

Closed
kn327 opened this issue Jun 18, 2020 · 1 comment
Closed

TypeLoad exception thrown in v1.0.0.3 #2

kn327 opened this issue Jun 18, 2020 · 1 comment

Comments

@kn327
Copy link

kn327 commented Jun 18, 2020

Hello,

When attempting to use the latest nuget package available (1.0.0.3), my application results in the following exception:

It appears as if one of the interfaces does not implement the GetAsync method.

Unhandled exception. System.TypeLoadException: Method 'GetAsync' in type 'Microsoft.Extensions.Caching.ServiceStackRedis.ServiceStackRedisCache' from assembly 'ServiceStackRedisCache, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at Microsoft.Extensions.DependencyInjection.RedisCacheServiceCollectionExtensions.AddDistributedServiceStackRedisCache(IServiceCollection services, Action`1 setupAction)
   at my_project.Program.<>c.<CreateHostBuilder>b__1_3(HostBuilderContext hostContext, IServiceCollection services) in C:\Projects\my_project\my_project\Program.cs:line 46
   at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at my_project.Program.Main(String[] args) in C:\Projects\my_project\my_project\Program.cs:line 16
@kn327
Copy link
Author

kn327 commented Jun 18, 2020

Looks like the issue was that the link provided in the ReadMe pointed to an older version.

Bad Package (from ReadMe link): https://www.nuget.org/packages/ServiceStackRedisCache

Latest version can be found here: https://www.nuget.org/packages/Microsoft.Extensions.Caching.ServiceStackRedis/

@kn327 kn327 closed this as completed Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant