gpt4 book ai didi

silverlight - 错误 : The following exception occurred creating the MEF composition container

转载 作者:行者123 更新时间:2023-12-04 02:57:15 25 4
gpt4 key购买 nike

我有 RIA 服务应用程序

我收到了这个警告

The following exception occurred creating the MEF composition container:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
The default code generator will be used.

这是为什么呢?

最佳答案

当我不小心在 WEB 项目(托管通过 RIA 服务连接的 Silverlight 应用程序的 Web 项目)中添加了对我生成的实体的引用时,我就遇到了这种情况。

要解决此问题,请删除对 Web 项目中实体的引用(具有托管您的 silverlight 应用程序的页面的 Web 项目)。引用消失后,警告将被删除。

我没有研究引发警告的原因...但就我而言,删除引用解决了警告。

关于silverlight - 错误 : The following exception occurred creating the MEF composition container,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9840748/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com