BHoM / BHoMAnalytics_Toolkit

GNU Lesser General Public License v3.0
1 stars 1 forks source link

Missing dependency to BHoM_UI in the NuGet package for net standard 2.0 #73

Closed adecler closed 8 months ago

adecler commented 10 months ago

Description:

As per title. This causes a crash on ZCTs using the Analytics NuGet package without explicitly referencing the BHoM_UI package. A good example of that is the BHoM API

Steps to reproduce:

Expected behaviour:

Test file(s):

FraserGreenroyd commented 10 months ago

BHoM_UI is listed as a dependency on the latest Nuget:

image

And is listed as a dependency for this repo here (where the dependencies for the nuspec file are generated).

As such, I don't think there's any development actions for this repository as the dependency isn't missing at the Nuget level. I wonder if it's an issue caused by the ZCT not typically wanting .NetFramework472 references, which BHoM_UI currently targets?

adecler commented 10 months ago

The image above proves that BHoM_UI is not listed as a dependency for net standard 2.0. ZCTs are working with .Net core 6 so they will not include dependencies targeting .Net framework.