【问题标题】:ASP.NET vnext and ServiceStack.redisASP.NET vnext 和 ServiceStack.redis
【发布时间】:2015-05-03 10:34:21
【问题描述】:

有没有人让 ServiceStack.redis 在 asp.net vnext 中工作? 我已将这些依赖项添加到 project.json:

"ServiceStack.Common.Signed": "4.0.40",
"ServiceStack.Interfaces": "4.0.40",
"ServiceStack.Redis.Signed": "4.0.40",
"ServiceStack.Text.Signed": "4.0.40" 

dnu restore 成功安装了软件包,但是当我尝试在 Visual Studio Code (OS X) 中编译我的代码时,我得到:“找不到类型或命名空间 'ServiceStack' .....”

来自 dnvm 列表:

Active Version              Runtime Arch Location             Alias
------ -------              ------- ---- --------             -----
       1.0.0-beta4          mono         ~/.dnx/runtimes
       1.0.0-beta5-11497    mono         ~/.dnx/runtimes
  *    1.0.0-beta5-11672    mono         ~/.dnx/runtimes      default
       dnx-mono             mono         ~/.dnx/runtimes

【问题讨论】:

  • 你是在编译CoreCLR还是编译完整的框架?
  • dnvm 列表:1.0.0-beta4 mono ~/.dnx/runtimes 1.0.0-beta5-11497 mono ~/.dnx/runtimes * 1.0.0-beta5-11672 mono ~/.dnx /runtimes 默认 dnx-mono 单声道 ~/.dnx/runtimes
  • 将其添加到您的问题中。

标签: c# asp.net asp.net-core


【解决方案1】:

这个问题是由这个nuget解决的: https://www.nuget.org/packages/ServiceStack.Redis.Core/

【讨论】:

  • 虽然这在理论上可以回答这个问题,it would be preferable 在此处包含答案的基本部分,并提供链接以供参考。
猜你喜欢
  • 1970-01-01
  • 2015-06-26
  • 2014-08-03
  • 2015-05-20
  • 2015-02-09
  • 2015-10-12
  • 2015-01-13
  • 2015-07-04
  • 1970-01-01
相关资源
最近更新 更多