EverseDevelopment / DracoWrapper

This is a wrapper project to use google's Draco Compression algorithm with C#
https://www.nuget.org/packages/Draco_transcoder
5 stars 2 forks source link

Compatibility issues Nuget restore #2

Open awesomeinsight opened 4 months ago

awesomeinsight commented 4 months ago

Hi and thanks for providing this Draco wrapper!

I did some experiments with the Nuget package and got the following warning during build (using .net 8 console application):

[NU1701] Package 'Draco_transcoder 3.3.4' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net8.0'. This package may not be fully compatible with your project.

Is it possible that you support .net standard (2.0) for this package? https://learn.microsoft.com/de-de/dotnet/standard/net-standard?tabs=net-standard-2-0

Or do you think that there is any other easy fix for this problem?

Maybe this is also related to an x86 <--> x64 issue. Currently I cannot use the Nuget at all when I for example try to execute the code from your documentation I get a: Unhandled exception. System.BadImageFormatException: Could not load file or assembly '*/bin/Debug/net8.0/DracoWrapper.dll'. An attempt was made to load a program with an incorrect format.

rosend commented 2 months ago

i had the same problem :(

xiaoyuvax commented 2 weeks ago

same problem Can this project owner make it compatible with net core and above?