TGASharpLib icon indicating copy to clipboard operation
TGASharpLib copied to clipboard

Please release this on NuGet

Open teenangst opened this issue 2 years ago • 1 comments

I use F# and I can't easily use this. I tried creating a C# library project and then importing the dll the C# project returns but I'm getting this error when trying to use new TGA(path) in my F# project:

A reference to the type 'Sytem.ICloneable' in assembly 'System.Runtime' was found, but the type could not be found in that assembly

It's been many years since I've used C#, and even more since I last had to do something like this, and I don't know how to deal with it.

Someone else has tried to release this on NuGet under Crews.Utility.TgaSharp but that fails to install

I would really appreciate if it was just made available and can just be installed easily.

teenangst avatar Aug 28 '23 23:08 teenangst

Hello. You can add C# Class Library to your project (.NET 6/7), NuGet packet "System.Drawing.Common" (available for windows only).

Also you need add using: using Image = System.Drawing.Image;

After this just add library to your F# project as dependency and this must works!

Anyway I have no time for support Open Source Libraries and/or porting it from .NET Framework to .NET ***. Make NuGet packets etc. Now I working with UnrealEngine and it's take all my time(

Hope I helped you.

ALEXGREENALEX avatar Aug 31 '23 13:08 ALEXGREENALEX