472,964 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,964 software developers and data experts.

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 13738
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew S. Giles | last post by:
Hello everyone, I am trying to deploy a project, and I cannot get it to work. Does anyone have any ideas how I should be going about this, since the way I am attempting is obviously wrong. ...
3
by: Bruce Wilhelm | last post by:
I have a VS2003 solution with 4 projects in it. I am trying to set up the dependencies in the dialog box, but after I close the dialog the dependencies do not change. Is there something that I am...
3
by: Ray Mitchell | last post by:
Hello, I currently have a .dll assembly and 2 .exe assemblies that both use the ..dll assembly. I currently have the IDE set up as 3 separate projects. I must always first build the .dll...
1
by: mp | last post by:
Hi, I have problem with project dependencies. I have made new setup application and everything works perfectly on my comp with VS 2003. On another computer with VS 2002 it does not work....
0
by: Michiel | last post by:
Hello, I want to edit my existing HTML Help Workshop project from Visual Studio. Therefore, I've added it to my project and selected "C:\Program Files\HTML Help Workshop\hhw.exe" as the default...
13
by: Brett Baisley | last post by:
At school, we do all of our coding in emacs, but I am trying to get the example apps working at home using Visual C++.net. In the example, there are 4 .cpp files (canvas.cpp, main.cpp,...
1
by: Eric Hirst | last post by:
I have a Visual Studio Solution .sln which contains multiple projects, including an ODBC driver .dll and a client .exe. The client .exe is a simple MFC query tool. Nothing I can find in the...
5
by: Shani | last post by:
I need help setting up a database which includes a list of about 1200 urls. Anyone who accesses the database should be able to input wheather the url is good or bad. I want to share the databse...
1
by: rockchicx23 | last post by:
i have to write a program that is a guessing the number game. the user has to choose the number of games they want to play. i need help setting up the loop that will run the number of times the user...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.