Changing compile order within a project

  • Thread starter Thread starter Top Gun
  • Start date Start date
T

Top Gun

I started with two projects in a solution, one containing a BaseForm and the
other an enherited ChildForm. I decided to move the BaseFrom to the second
project and changed the inherited form to look in the local project for its
parent. However, until the baseform compiles, the child form cannot find it.

I am guessing that I may need to change the compile order in the second
project to compile the baseform BEFORE the associated enherited forms.

Am I correct and, if so, how to I change the order?
 
With multiple projects in the current solution you can go to
"Project->Project Build Order..." on the main menu. Play around with the
"Dependencies" tab until things are in the build order that you desire.
 
* "Top Gun said:
I started with two projects in a solution, one containing a BaseForm and the
other an enherited ChildForm. I decided to move the BaseFrom to the second
project and changed the inherited form to look in the local project for its
parent. However, until the baseform compiles, the child form cannot find it.

I am guessing that I may need to change the compile order in the second
project to compile the baseform BEFORE the associated enherited forms.

Select the solution in solution explorer, choose "Project Build
Order..." from its context menu and change the order.
 
Back
Top