Dependency Problem

  • Thread starter Thread starter Microsoft
  • Start date Start date
M

Microsoft

One Solution , five projects.

A Class Lib
B Windows Forms ( Startup Project )
C Class Lib
D Class Lib
E Class Lib
F Class Lib


Dependencies

A - Depends On Nothing
B - Depends on A,D,E
C - Depends on A,D
D - depends on A
E - Depends on Nothing

Problem: When I alter any of the dependent projects, and building the
solution, the compiler complains that it cannot overwrite an older file in
the target directory becase the new one is a newer revision.

Anyone know why this is happening ?
 
Problem: When I alter any of the dependent projects, and building the
solution, the compiler complains that it cannot overwrite an older file in
the target directory becase the new one is a newer revision.

Anyone know why this is happening ?

What is your build order? Right click on the solution and select project
dependencies. Then, select each project in turn from the combo box and
check it's dependencies. Once they are set, check the build order tab.
When you rebuild the solution, the projects should be built in the correct
order.

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
Back
Top