' xrmfakedContext'不会coneinain的定义' reputepluginwith'
我正在尝试将单元测试项目升级到最新版本的fackxrmeasy 2.1.2,并且我在下面收到错误:
'xrmfakedcontext'并不是“ executepluginwith''的定义,没有可访问的extension方法'expention'executepluginwith'接受一个'可以找到“ XrmfakedContext”类型的第一个论点
I'm trying to upgrade a unit test project to the latest version of FakeXrmEasy 2.1.2 and I'm getting the error below:
'XrmFakedContext' does not cointain a definition for 'ExecutePluginWith' and no accessible extension method 'ExecutePluginWith' accepting a first argument of type 'XrmFakedContext' could be found
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能会发生,因为某些方法已移至专用的名称空间,因此可能需要一些额外的使用语句。
请尝试添加这些用途:
另外,请使用其他可能有用的步骤检查文档网站。特别是,以6个步骤迁移的快速指南可能是一个必不可少的资源:
https://dynamicsvalue.github.io/fake-xrm-easy-docs/quickstart/migrating-from-1x/
This might happen because some methods were moved into dedicated namespaces and so some extra using statements might be necessary.
Please try adding these usings:
Also please check the documentation site with other steps that might be useful. In particular the Quick Guide to migrate in 6 steps is probably an essential resource:
https://dynamicsvalue.github.io/fake-xrm-easy-docs/quickstart/migrating-from-1x/