Problem with building plugin for windows 10 in 5.2.2p3

Hi, for the last 2 days i’m trying to figure what’s wrong with my plugin, but i have no idea.

i’ve got a plugin, that references another library.
I’ve imported everything to unity’s Plugins directory.
I’ve set the platform to “WSA player”.

now, i’ve got 2 problems:

  1. the “fake” editor plugin gives me this error:

Not sure why doesn’t it recognizes the System.Runtime.

  1. when i try to build, i get this error: “Error building Player: Extracting referenced dlls failed.”
    and
    in the library that my plugin references:

how is the dll not allowed or not found?

Regarding 1), it seems Assets\Plugins\LabMatePluginLayer.dll is built against .NET 4+. Editor only supports assemblies built against up to .NET 3.5.

On 2), is Newtonsoft.Json.dll anywhere in your project? Unity cannot find it for some reason.

Thanks for the help, I’ve manage to resolve the issue.

btw though, i’m 100% I’ve created the universal app library for .NET 3.5
but for some reason i guess it wasn’t 3.5, and i couldn’t change it either, there was no “change targets” button.
so i had to make a regular library.

I believe Visual Studio ignores the .NET setting when creating Universal App class libraries. So yea, you have to create " classic desktop class library" for the editor.