Skip to content

C# wrapper introduces a dependency on the full .NET Framework #3419

@jcannata

Description

@jcannata
Required Info
Camera Model n/a
Firmware Version n/a
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) n/a
Platform PC
SDK Version 2.19.0
Language C#
Segment n/a

Issue Description

Out software project targets .NET Core so any referenced libraries must be .NET Standard 2.0 compatible.
A recent modification to NativeMethods.cs (45eb153) to support portable memory copy has introduced a dependency on the full .NET Framework. Previously the wrapper was .NET Standard 2.0 compatible but the class System.Reflection.Emit.DynamicMethod is not part of the standard. It appears that the code is trying to support an unknown O/S (i.e. not Windows, Linux or MacOSX). Is there another way to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions