BUG: build order incorrect after pressing OK.

W

Willie wjb

Hi,

i have a solution with 4 projects

sdk, control1, control2 and controls

the sdk is the base
control1 uses the sdk
control2 uses the sdk
controls uses the sdk,control1 and control2

i now have set the build order as mentioned in the help. Start with the
highest (controls) and set the project dependencies of it. Next take the
next highest (control2) and so on...

But when i have done all and clicked on the OK button and reopen the build
order it looks like this:

sdk
control1
controls
control2

it should have been:
sdk
control1
control2
controls

the checkbox for controls depends on item control2 is disabled???????

It looks like when you have 2 projects that are at the same level (control1,
control2) and are used inside a higher level (controls) the builder is doing
something wrong.

It it my fault, or is there a bug inside?
 
A

Armin Zingler

Willie wjb said:
Hi,

i have a solution with 4 projects

sdk, control1, control2 and controls

the sdk is the base
control1 uses the sdk
control2 uses the sdk
controls uses the sdk,control1 and control2

i now have set the build order as mentioned in the help. Start with
the highest (controls) and set the project dependencies of it. Next
take the next highest (control2) and so on...

But when i have done all and clicked on the OK button and reopen the
build order it looks like this:

sdk
control1
controls
control2

it should have been:
sdk
control1
control2
controls

the checkbox for controls depends on item control2 is
disabled???????

It looks like when you have 2 projects that are at the same level
(control1, control2) and are used inside a higher level (controls)
the builder is doing something wrong.

It it my fault, or is there a bug inside?

If controls and controls2 don't depend on the other (in no direction), the
order of building both doesn't matter.

Which project references which one? The references should already determine
the order, so setting it manually is usually not necessary.
 
W

Willie wjb

i created the sdk.dll in a specific directory.
the control1,control2 uses this sdk.dll as reference
the controls references control1 and control 2

besides that to use some functionality inside the controls, it has a link to
the sdk.dll in the control1\bin directory.
could this be the problem??? Should i refer always to the base directory
from the component..

thanks.

Willie Jan.
 
A

Armin Zingler

Willie wjb said:
i created the sdk.dll in a specific directory.
the control1,control2 uses this sdk.dll as reference
the controls references control1 and control 2

Ok, as controls references control2, control2 has to be build before
controls. I'm afraid, I have no clue why the IDE behaves like it does.
besides that to use some functionality inside the controls, it has a
link to the sdk.dll in the control1\bin directory.
could this be the problem??? Should i refer always to the base
directory from the component..

I always refer to the base directory of the component, but I can not say
whether referencing control1\bin\sdk.dll causes the problem. Have you
already tried to reference sdk\bin\sdk.dll instead?
 
W

Willie wjb

i tried it to reference to the base, but this also not worked.

Willie wjb said:
i created the sdk.dll in a specific directory.
the control1,control2 uses this sdk.dll as reference
the controls references control1 and control 2

besides that to use some functionality inside the controls, it has a link to
the sdk.dll in the control1\bin directory.
could this be the problem??? Should i refer always to the base directory
from the component..

thanks.

Willie Jan.
 
W

Willie wjb

could this be a bug?

because during the change proces in the form, the build order looks fine,
when pressing ok and comming back it's changed!
 
A

Armin Zingler

Willie wjb said:
could this be a bug?

because during the change proces in the form, the build order looks
fine, when pressing ok and comming back it's changed!

I'd probably need some "steps to reproduce" to find an answer. I'm afraid,
currently I don't have one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top