CLI compilation problem

  • Thread starter Thread starter DaTurk
  • Start date Start date
D

DaTurk

Hi,

I have a strange issue. I'm pretty sure it's just some strage
configuration issue. I have a solution with a couple CLI projects,
and a couple unmanged c++ projects. When I clean, and rebuild the
build breaks. During this build I see it copying the files it has a
dependency on lacally, and then it breaks with errors saying it
doesn't know about them.

But, when I do a subsequent rebuild, it works. I don't quite
understand what I'm missing. THe project that breaks needs the other
CLI project, and a c# library. These are what it loads. Anyone have
any ideas?

Thanks in advance
 
I have a strange issue. I'm pretty sure it's just some strage
configuration issue. I have a solution with a couple CLI projects,
and a couple unmanged c++ projects. When I clean, and rebuild the
build breaks. During this build I see it copying the files it has a
dependency on lacally, and then it breaks with errors saying it
doesn't know about them.

But, when I do a subsequent rebuild, it works. I don't quite
understand what I'm missing. THe project that breaks needs the other
CLI project, and a c# library. These are what it loads. Anyone have
any ideas?

I suspect that your build order is wrong.
As a result, proj A wich requires the output of proj B gets built first.
Because B does not yet exist, the build breaks.
then proj B is built.

if you build again the error will disappear because now B already exists.

You can check this if you right-click your solution and then select build
order, or project dependencies.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
I suspect that your build order is wrong.
As a result, proj A wich requires the output of proj B gets built first.
Because B does not yet exist, the build breaks.
then proj B is built.

if you build again the error will disappear because now B already exists.

You can check this if you right-click your solution and then select build
order, or project dependencies.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"

I believe that was the problem! Thank you
 
Back
Top