.NET Standard 2.0 does not fully works

Hi,

I have created small library in .NET Standard 2.0 which I am using in WPF (.NET Framework 4.7.1) projects. It works fine with 4.7.1 projects but when I try to load it with very latest Unity 2018.1 it only sees two basic enums (files and enum) but doesn’t see others files and classes (class). All these classes are basic kinda DTO which are serialized to XML, nothing fancy or complex.

I am also using second .NET Standard 2.0 library a little bigger in this one is not even loaded by Unity, it sits in the folder, I try to import it, but it is not shown under files explorer.

3376291--264856--UnityIssue.png

(For clarification the library I am testing target framework is the .NET Standard 2.0)

Regards,

What Api Compatbility Level are you using in Unity? I think it will need to be .NET Standard 2.0 in order for this to work. If that is the one you are using, what error message do you get in Unity? I’m unsure what you mean by “it only sees two basic enums”.

Also, let us know what scripting runtime version is set in the editor.