By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,426 Members | 1,721 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,426 IT Pros & Developers. It's quick & easy.

Help setting project dependencies -- why is everything grey?

P: n/a
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,

--
JT Lovell
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
CT
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

"JT Lovell" <jt*******@yahoo.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl...
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,

--
JT Lovell
Nov 21 '05 #2

P: n/a
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,

--
JT Lovell
"CT" <ca******@spammersgoawaydotnetservices.biz> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...
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

"JT Lovell" <jt*******@yahoo.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl...
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,

--
JT Lovell

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.