Menu

Compiling of DWSIM.UnitOperations.Humidifer failed

Mario N
2023-06-23
2023-06-27
  • Mario N

    Mario N - 2023-06-23

    Hello all,

    I plan to implement my own advanced heat exchanger in DWSIM. Beforhand I try to compile the DWSIM.UnitOperations.Humidifer and will use it as a base. But compiling of the source code through the following errors:

    \DWSIM.UnitOperations.Humidifer-master\Editor.Designer.vb(6,29): error BC30284: sub 'Dispose' cannot be declared 'Overrides' because it does not override a sub in a base class.

    \DWSIM.UnitOperations.Humidifer-master\Editor.vb(6,14): error BC30002: Type 'WeifenLuo.WinFormsUI.Docking.DockContent' is not defined.

    \DWSIM.UnitOperations.Humidifer-master\Editor.vb(12,78): error BC30590: Event 'Load' cannot be found.

    I use Microsoft Visual Studio Community 2022 (64-bit) Version 17.5.2 on a Win 10 64 bit machine.

    Is there anyone who solved or can solve this problem?

    thx
    Mario

     
  • Daniel Medeiros

    Daniel Medeiros - 2023-06-23

    Check the project references and fix them, pointing to the location of an existing DWSIM installation.

     
  • Mario N

    Mario N - 2023-06-26

    Hallo Daniel,

    thanks a lot for your fast replay. Indeed it was a reference problem with the "WeifenLuo.WinFormsUI.Docking.dll". Problem is fixed.

    Unfortunately there is a new compiling error:

    \DWSIM Application Data\DWSIM.UnitOperations.Humidifer-master\Humidifier.vb(254,25): error BC30519: Overload resolution failed because no accessible 'CreateAndAddDropDownRow' can be called without a narrowing conversion:

    In your Tutorial video you use a combobox instead and I can't fix it by myself.

    Do you have any hint for me to fixed this issue?

    thx
    Mario

     
    • Daniel Medeiros

      Daniel Medeiros - 2023-06-26

      are you referencing DLLs from DWSIM v8.5.0?

       
  • Mario N

    Mario N - 2023-06-27

    yes, DWSIM v8.5.0.

     
MongoDB Logo MongoDB