Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why am I unable to use using SixLabors ImageSharp?

Tags:

nuget

For some reason whenever I try to install SixLabors using the Nuget Package Manager or Console, after it succeeds I am unable to do using SixLabors.ImageSharp; SixLabors doesn't even show up in the Intellisense menu. I'm running SDK 7.0.4 while SixLabors supports .NET Standard 2.0+ and to my knowledge that means it's compatible with .NET 7.0.4.

I've tried creating a new Console App (.NET Framework) then using both the NuGet manager, and the NuGet console, but both times I'm still unable to do using SixLabors.ImageSharp;. It's installing successfully I'm just unable to access the namespace. How do I get this to work? Does it not support .NET 7 or am I installing it wrong?

like image 871
Riley Johnson Avatar asked Oct 27 '25 04:10

Riley Johnson


1 Answers

3.0.0+ now only has support for net6.0, not .NET Framework. Versions 2.1.4 and under have support for .NET Framework. You can check this under Dependencies when using NuGet.

like image 187
Riley Johnson Avatar answered Oct 30 '25 14:10

Riley Johnson