I have a large solution with number of projects. Some the projects depend on others (never a circular dependency though).
When I tried to remove a dependency of a project, I am getting an error message like "The dependency was added by the project system and cannot be removed". What is the cause for this error? How I can solve this?
On the Project menu, choose Project Dependencies. The Project Dependencies dialog box opens. On the Dependencies tab, select a project from the Project drop-down menu. In the Depends on field, clear the check boxes beside any other projects that are no longer dependencies of this project.
In Solution Explorer, select the project item you want to remove. On the Edit menu, click Remove. On the confirmation dialog, click Remove to remove the item from the project.
I sometimes get this problem when I try to manually edit projects/solutions generated by our CMake system. I solve it manually:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With