BHoM / Dynamo_UI

Tools for Dynamo
GNU Lesser General Public License v3.0
8 stars 5 forks source link

ICSharpCode.AvalonEdit.dll gets copied over to Dynamo 2.0 bin folder #291

Closed pawelbaran closed 3 years ago

pawelbaran commented 3 years ago

Description:

As in the title: the file causing the weird behaviour reported in #289 is still present in %AppData%\Dynamo\Dynamo Revit\2.0\packages\BHoM\bin both after compilation as well as after installation from today's Alpha. My intuitive bet is that it is a Dynamo_Toolkit issue, but please feel free to transfer to the installer if needed.

Dynamo 2.3 works fine thanks to different assembly loading mechanism.

adecler commented 3 years ago

Well, the problem is that 2.0 is still copying all the dlls from ProgramData to its bin folder (2.3 just copies the minimum required and then provides a link to the ProgramData folder).

So the best action here (that I could think of) is to explicitly delete the AvalonEdit dll from the bin folder in post build of 2.0.