在安装了ServiceStack.OrmLite.SqlServer NuGet软件包之后,我开始毫无头绪地发现下面的错误。
Method 'RemoveExpiredEntries' in type 'ServiceStack.Caching.MemoryCacheClient' from assembly 'ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587' does not have an implementation.发布于 2020-06-12 13:13:30
这表明您有不同版本的ServiceStack包。您需要确保所有包都有相同版本的,例如5.9.0。
或者,如果您使用的是预发布的MyGet包 (例如,结束5.*.1),那么您需要清除NuGet包缓存以便下载最新版本,例如:
nuget locals all -clearhttps://stackoverflow.com/questions/62343014
复制相似问题