Cannot install Steema.TeeChart.NET 4.2023.7.5 nuget package for .NET Framework 4.8 WinForms application

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
bairog
Advanced
Posts: 128
Joined: Fri Dec 07, 2018 12:00 am

Cannot install Steema.TeeChart.NET 4.2023.7.5 nuget package for .NET Framework 4.8 WinForms application

Post by bairog » Tue Aug 01, 2023 11:44 am

Hello.
Just created a new WinForms application targeting .NET Framework 4.8.
When I try to install Steema.TeeChart.NET 4.2023.7.5 nuget package - I get an error:
Unable to resolve dependency 'SixLabors.Fonts'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
If I retarget my project to .NET Framework 4.0 - that package install without any errors.
Also Steema.TeeChart.NET 4.2023.6.19 nuget can be installed without any errors (even for .NET Framework 4.8).
Is that a bug or a documented feature?

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Cannot install Steema.TeeChart.NET 4.2023.7.5 nuget package for .NET Framework 4.8 WinForms application

Post by Christopher » Tue Aug 01, 2023 1:41 pm

Hello,

it's a bug in NuGet, as documented here. The workaround I use is to use the Package Manager Console, i.e.

Code: Select all

PM> NuGet\Install-Package Steema.TeeChart.NET -Version 4.2023.7.5 -IncludePrerelease
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply