WCF RIA 服务引用另一个 RIA 服务类库

发布于 2024-08-29 21:23:45 字数 173 浏览 3 评论 0原文

我收到“命名空间不明确”异常。这是因为我有多个引用其他 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 技术交流群。

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

发布评论

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

评论(1

等你爱我 2024-09-05 21:23:45

我的 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.

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