# 2.0 broke my 1.3.2

**URL:** <https://forum.dynamobim.com/t/2-0-broke-my-1-3-2/21375>\
**Category:** Revit\
**Created:** [April 24, 2018, 8:54pm UTC](https://forum.dynamobim.com/t/2-0-broke-my-1-3-2/21375 "2018-04-24T20:54:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveP](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@DaveP](https://forum.dynamobim.com/u/DaveP)\
**Post date:** [April 24, 2018, 8:54pm UTC](https://forum.dynamobim.com/t/2-0-broke-my-1-3-2/21375/1 "2018-04-24T20:54:23Z")

</div>

I’ve been getting crashes all day today whenever I try to use a Code Block node  
Anytime I do anything with a Code Block, Dynamo crashes with an error referring to this:  
AvalonEdit.Editing.TextArea.ClearSelection  
I ended up uninstalling both 1.3.2 and 2.0  
I reinstalled 1.3.2, and everything works fine.  
Then I reinstalled 2.0, and it crashes again as soon as I try using a Code Block.  
I have filed a bug report to github

> <https://github.com/DynamoDS/DynamoRevit/issues/2021>

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner2/32/75576_2.png) [@Michael\_Kirschner2](https://forum.dynamobim.com/u/Michael_Kirschner2)\
**Post date:** [April 24, 2018, 10:03pm UTC](https://forum.dynamobim.com/t/2-0-broke-my-1-3-2/21375/2 "2018-04-24T22:03:51Z")

</div>

hi @DaveP I also responded on your GitHub issue, please try this workaround:

> [@Dead Code Block Nodes in D4R](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132):
>
> When using Dynamo for Revit if you experience Code Block Nodes that you can not edit the root cause may be a collision with another instance of the AvalonEdit Open Source component: ICSharpCode.AvalonEdit.dll, found in the Dynamo Core folder under Program Files and also under the Revit SDA folder. Revit Addins may pull in their own version of the dll as well, for example DisplayBindings. A suggested workaround is to simply rename the Dynamo version of the dll so that Dynamo is forced to use the…

essentially you want to rename the dynamo core 2.0 avalonEdit dlls so that the revit dll is loaded. It’s quite strange though that 2.0 would effect 1.3.2 as they should have separate core installations.

It might also be worth checking if duplicate copies of these dlls somehow got copied into the dynamoRevit folders.
