具有完全相同的命名空间不明确的引用 [英] Ambiguous references with the exact same namespace

查看:268
本文介绍了具有完全相同的命名空间不明确的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RC 类没有连接到一个数据库,它是一个简单的类。类是只在一个地方,而不是局部的。该Aérochem.DomainDLL项目编译就好了。

The RC class is not linked to a database, it is a simple class. The class is at only one place and is not partial. The Aérochem.Domain dll project compiles just fine.

请注意:如果我选择快速修复菜单中的两个相同的命名空间之一,它什么都不做。

Note: If I select one of the two identical namespaces in the quick fix menu, it does nothing.

注2:这发生在几个类(一些相关的数据库,有些没有)

Note2: This happens to a couple of classes (some related to a database, some not)

有没有修复到还是有办法推测有什么不对?

Is there a fix to that or a way to figure what's wrong?

推荐答案

我有同样的问题。我使用ReSharper的。我的问题的解决方案并没有清洗解决方案,但删除 -file。
希望有所帮助。

I had the same problem. I use ReSharper. The solution to my problem was not cleaning the solution but deleting the suo-file. Hope that helps.

这篇关于具有完全相同的命名空间不明确的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆