WCF RIA 服务引用另一个 RIA 服务类库
我收到“命名空间不明确”异常。这是因为我有多个引用其他 RIA Services 类库的 RIA Services 类库。是否可以只允许 RIA Services 类库的代码生成部分而不作为参考?
我不想创建一个单一的 RIA 服务类库,因为我们的企业应用程序具有仅使用某些部分的模块。请指教。
I am getting an "ambiguous namespace" exception. It is because I have mutiple RIA Services class libraries that reference other RIA Services class libraries. Is it possible to only allow the code generated part of a RIA Services class library and not as a reference?
I don't want to create a monolithic RIA Services class library as our enterprise application has modules that only use certain pieces. Please advise.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的 bin 和 obj 文件夹似乎已损坏。我清理了溶液,它又开始工作了。我确实必须使用“全局”关键字才能使应用程序最终正常工作。我不确定为什么我必须这样做,因为我引用了程序集,但现在它可以工作了。
It appears that my bin and obj folders were corrupt. I Cleaned the solution and it started working again. I did have to use the "Global" key word to get the application finally working. I am not sure why I had to do it that way since I had a reference to the assembly but it now works.