468,509 Members | 1,388 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,509 developers. It's quick & easy.

Help setting project dependencies -- why is everything grey?

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
2 13053
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
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.

Similar topics

reply views Thread by Andrew S. Giles | last post: by
3 posts views Thread by Bruce Wilhelm | last post: by
3 posts views Thread by Ray Mitchell | last post: by
1 post views Thread by mp | last post: by
13 posts views Thread by Brett Baisley | last post: by
3 posts views Thread by gieforce | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.