Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please release this on NuGet #2

Open
teenangst opened this issue Aug 28, 2023 · 1 comment
Open

Please release this on NuGet #2

teenangst opened this issue Aug 28, 2023 · 1 comment

Comments

@teenangst
Copy link

teenangst commented Aug 28, 2023

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.

@ALEXGREENALEX
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants