Hey,
Is there a better way to deal with local managed assemblies with the new Rhino 8 Script-Editor (which I really like!)?
I tried (successfully) to execute the Rhino Developer “simpleCSWpf” example with the Script Editor, but referencing the local dlls one by one in every script seems a little bit weird. Did I get somethign wrong? Is there a more elegant way, Especially when dealing with multible scripts in a plugin?
The code:
#r "../SampleCsWpf.dll"
#r "C:\Program Files\Rhino 8\System\RhinoWindows.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\PresentationFramework.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\PresentationCore.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\WindowsBase.dll"
using Rhino;
using Rhino.Commands;
using RhinoWindows;
using SampleCsWpf;
using SampleCsWpf.Views;
var dialog = new SampleCsWpfDialog();
dialog.ShowSemiModal(RhinoApp.MainWindowHandle());
Greetings from Madrid,
Leon