Help setting project dependencies -- why is everything grey?

  • Thread starter Thread starter JT Lovell
  • Start date Start date
J

JT Lovell

I have a solution with 5 projects and I need them to build in a particular order. I understand that setting the project dependencies will allow this, but when I go to the Project Dependencies dialog, the "Depends on" checkboxes are grayed out. Is there something else required in order to enable these?

Thanks,
 
If you try clicking thge checkbox for a project on the Depends on list in
the Project Dependencies dialog box, you'll see the reason for the disabled
checkboxes:

1) This dependency cannot be added because it will create a circular
dependency.
2) This dependency was added by the project system and cannot be removed.

Obviously the second prompt is due to the fact that you've added a reference
to the first project from the second project.Try adding a new project to
your solution, with no dependencies on other projects in your solution, and
you'll see that the checkboxes are enabled.


--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

I have a solution with 5 projects and I need them to build in a particular
order. I understand that setting the project dependencies will allow this,
but when I go to the Project Dependencies dialog, the "Depends on"
checkboxes are grayed out. Is there something else required in order to
enable these?

Thanks,
 
Thank you for your reply.

Currently there are no dependencies set anywhere in the solution, because
the settings have always been grayed out. When I try to click on the
"Depends on" list, I get no message or see any error in the status area.
Since I don't yet have any dependencies, I don't believe a circular
reference is involved. I have tried setting a dependency from each project
to every other project and had no luck with any of them.

Any other ideas? Thanks,
 
Back
Top