Skip to content

Compatibility issues Nuget restore #2

@awesomeinsight

Description

@awesomeinsight

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions