【问题标题】:"The type LogWriter cannot be constructed." I am used PostSharp And Entity Framework“无法构造类型 LogWriter。”我用的是 PostSharp 和 Entity Framework
【发布时间】:2015-03-09 12:09:08
【问题描述】:

无法构造类型LogWriter。
您必须配置容器以提供此值。我用过 mvc4 PostSharp 和 Entity Framework。

【问题讨论】:

    标签: entity-framework model-view-controller postsharp


    【解决方案1】:

    在异常的堆栈跟踪中,我可以看到您正在使用 Unity 来实现依赖注入。

    解决方案在上面这篇帖子Unity: The type LogWriter cannot be constructed

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-30
      • 1970-01-01
      相关资源
      最近更新 更多