Bug Report: Parallel building fails

Comments

6 comments

  • Avatar
    Michael Johnson

    There are no dependencies in the solution build, not sure what the fix is?

    0
    Comment actions Permalink
  • Avatar
    Martin Schachinger

    Dependencies are set correctly in the Executable Project "DeviceTemplate_Modbus..." and when rebuild is invoced directly with mouse right click on this project it builds fine.

    Only when invocing a complete rebuild from the top level solution - one dependency project will never finish until you set in Options the "ParallelBuilding Threads to 1"

    So for me thats clear a CrossStudio bug don't handling parallel threads correctly... :-)

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    I understand the problem - are you building more that one executable at the solution level?

    0
    Comment actions Permalink
  • Avatar
    Martin Schachinger

    Yes the Root Solution "ESW" has some libraries and at the bottom a solution with builds 2 executables
    Invocing rebuild from green arrow works and from red arrow works not.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Okay, I agree it's a bug.

    To avoid it create a "Staging Project" that does nothing and make the executable projects dependencies of this project.

    0
    Comment actions Permalink
  • Avatar
    Martin Schachinger

    Just tried it out - workaround with the (empty) staging project is working.

    Perfect! Thanks a lot & BR

    0
    Comment actions Permalink

Please sign in to leave a comment.