enmerk4r / Swiftlet

Grasshopper plugin for interacting with web APIs
MIT License
73 stars 8 forks source link

Extra files copied to Solution Output #16

Closed thekaushikls closed 1 year ago

thekaushikls commented 1 year ago

When viewed on https://github.dev/enmerk4r/Swiftlet, there seem to be additional references.

image

When building the solution, additional library files seem to be copied to the bin folder. But these are not included in the .yak file. So, are they needed in the first place?

image

enmerk4r commented 1 year ago

@thekaushikls A lot of these DLLs should not be redistributed, because they get loaded by the Rhino process:

GH_IO.dll
Grasshopper.dll
Rhino.UI.dll
RhinoCommon.dll

For all of these dlls "CopyLocal" should be sent to false. As a matter of fact, if you try to load a Grasshopper plugin that contains a Grasshopper.dll in it, Grasshopper will refuse to launch. But you do need those as references to actually build Swiftlet