StackExchange.Redis 的奇数 FileNotFoundException
Odd FileNotFoundException for StackExchange.Redis
我们使用的是 StackExchange.Redis、StackExchange.Redis.1.1.603
的最新版本。它在短时间内运行良好,但我现在遇到以下异常:
Could not load file or assembly 'StackExchange.Redis, Version=1.0.316.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
这很奇怪,因为没有发布具有该版本号的 nuget 包。有时干净的构建和 Visual Studio 2013 的重新启动会使它消失,有时不会。我已经删除了引用并重新安装了 nuget 包,但似乎没有什么可以解决这个问题。任何人都可以对此提出任何建议吗?
编辑:此问题是由于 Visual Studio 没有将 DLL 从引用的缓存库复制到网站项目的 bin
文件夹。
奇怪的版本号让我很生气。如果有人能回答我会感兴趣。
此问题是由于Visual Studio未将 DLL 从引用的缓存库复制到网站项目的 bin 文件夹引起的。
我不确定版本号 1.0.316.0 是从哪里来的,因为它从来没有发布过。
我们使用的是 StackExchange.Redis、StackExchange.Redis.1.1.603
的最新版本。它在短时间内运行良好,但我现在遇到以下异常:
Could not load file or assembly 'StackExchange.Redis, Version=1.0.316.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
这很奇怪,因为没有发布具有该版本号的 nuget 包。有时干净的构建和 Visual Studio 2013 的重新启动会使它消失,有时不会。我已经删除了引用并重新安装了 nuget 包,但似乎没有什么可以解决这个问题。任何人都可以对此提出任何建议吗?
编辑:此问题是由于 Visual Studio 没有将 DLL 从引用的缓存库复制到网站项目的 bin
文件夹。
奇怪的版本号让我很生气。如果有人能回答我会感兴趣。
此问题是由于Visual Studio未将 DLL 从引用的缓存库复制到网站项目的 bin 文件夹引起的。
我不确定版本号 1.0.316.0 是从哪里来的,因为它从来没有发布过。