In my opinion is it necessary to complement the Invoke Code activity with developing possibilities, e.g. like debugging. This can be realized with Notepad++ and the CS-Script plugin very easily. In relation to my suggestion to add a dependency option here a tiny addendum how to realize this now.
First some basics:
Download the NuGet package with preconfigured Notepad++ and CS-Script here and install it via the package manager.
Remove the dependency.
Now you can find in the path
the preconfigured Notepad++ with the CS-Script.
And CS-Script contains the library to execute also VBdotNET.
As can be seen, supplementary programs can be delivered on this way. In this case, we expand the Invoke Code activity. The code can be easily exchanged via the clipboard. The code itself can be developed and tested in Notepad++ with the CS-Script plugin.