ArgumentException ... Dll is not allowed to be included or could not be found.

Hi! I have a problem compiling for Windows.
I installed NuGet to download a Package (itext7) to create a PDF in runtime. It works in the editor but I got an error when compiling:

ArgumentException: The Assembly System.Runtime.CompilerServices.Unsafe is referenced by Microsoft.Extensions.Primitives ('Assets/Packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.dll'). But the dll is not allowed to be included or could not be found.

But there is the DLL in the correct directory

So I don’t know what can I do :frowning:

Any ideas?
Tnks

I have this mistake now
could you solve?

copy the *.dll to the Plugins folder and remove NuGet packages
https://stackoverflow.com/questions/56885284/implement-spant-in-unity

No :frowning: I used another thing