I’m using Grasshopper NuGet (Package Reference format). According to the guide CopyLocal should be automatically set to false but when compiling the project the DLLs (Eto, RhinoCommon,…) are copied to the output directory. When using Package Reference format I cannot change CopyLocal property. Should I use Packages.config format for Rhino NuGets?
P.S Old friend Google told me that I can add the following setting to PackageReference in .csproj file which prevents copying:
The referencing would be then
<ItemGroup> <PackageReference Include="Grasshopper"> <Version>7.3.21053.23031</Version> <ExcludeAssets>runtime</ExcludeAssets> </PackageReference> </ItemGroup>
However, it would be better if the fix could be done to the NuGet somehow.