不允许循环文件引用 [英] Circular file references are not allowed

查看:94
本文介绍了不允许循环文件引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在构建项目时遇到了不允许循环文件引用这样的错误。



我在devexpress中有usd项目转换器将参考dll更新到最新版本。



仍然得到这样的错误。请建议我。



我的尝试:



我有这样的错误'构建项目时不允许循环文件引用'。

Hi

I got error like this 'Circular file references are not allowed' while building the project.

I have usd project converter in devexpress to update the reference dlls to latest version.

Still got the error like this. please suggest me.

What I have tried:

I got error like this 'Circular file references are not allowed' while building the project.

推荐答案

如果你添加多个项目,一个项目依赖另一个项目意味着检查你的参考。如果你给出循环形式意味着错误将来
if you add multiple project, one project depend another one project means check your reference. if u gave circular form means that error will come


如果您在同一个解决方案中有项目A和项目B,并且您将项目A的引用添加到项目B,并且还从项目B到项目A然后你会得到这个错误。引用的工作方式类似于parent \ children关系,因此项目不能同时是另一个项目的父项和子项。



你需要在圆形的地方找工作引用是,可能会移动一些代码,甚至创建一个新项目来解决它。
If you have Project A and Project B in the same solution, and you add a reference from Project A to Project B and also a reference from Project B to Project A then you’ll get this error. References work like a parent\child relationship so a project cannot be both the parent and the child of another project.

You’ll need to work out where the circular reference is and maybe move some code around, or even create a new project in order to resolve it.


这篇关于不允许循环文件引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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