Ninject 告诉我一个方法尚未实现,但它显然存在

发布于 01-04 05:31 字数 462 浏览 3 评论 0原文

我真的不知道为什么 Ninject 会抛出这个错误,因为我已经使用它有一段时间了。

它说我没有实现方法,但它确实存在。

程序集“FollowUp.Repository.Impl,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null”中类型“FollowUp.Repository.Impl.ApplicationLogRepository”中的方法“GetApplicationLogEntries”没有实现。

制作了尽可能小的复制品

我在 https://www.sugarsync.com/pf/D6486369_1701716_00156 有ninject经验的人可以帮帮我吗?非常感谢。

亲切的问候,汤姆

I realy don't know why Ninject throws this error since I have been using it for some time now.

It says I didn't implement a method but it's realy there.

Method 'GetApplicationLogEntries' in type 'FollowUp.Repository.Impl.ApplicationLogRepository' from assembly 'FollowUp.Repository.Impl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

I made the smallest repro possible at https://www.sugarsync.com/pf/D6486369_1701716_00156

Can someone with ninject experience help me out please? Much appreciated.

Kind Regards, Tom

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

抚你发端2025-01-11 05:31:36

这不是 Ninject 相关的问题。该异常告诉您.NET 框架出于任何原因都无法加载该程序集。检查融合日志以获取发生的情况的更多信息。

出现此类异常的一个常见原因是当您尝试将 x86 程序集加载到 x64 进程中或反之亦然时。

This is not a Ninject related problem. The exception tells you that the assembly could not be loaded by the .NET framework for any reason. Check the fusion log to get more information what happend.

A common reason for this type of exception is when you try to load an x86 assembly into a x64 process or the other way round.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文