我有RIA Services应用程序错误:出现以下异常创建MEF组合容器
而且我得到了这样的警告
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.
为什么呢?
你能检索LoaderExceptions属性并共享细节吗? – 2012-03-23 18:56:49
@EdChapel对不起,我不能。我真的不知道该怎么做。 – 2012-03-23 20:31:05
如果你正在容器中注册你的domaincontexts,你需要添加一个'新的InjectionConstructor()'。这是因为DomainService的代理服务器,你的domaincontext有3个构造函数,它不能在不知道使用哪个构造函数的情况下解析实例。 – 2012-03-25 09:50:30