This is driving me crazy for several months now and I\'m still not able to achieve it. My managed libraries are extracted from the Nuget package but not the natives ones.
The problem of native DLLs not being copied to the output directory is gone nowadays when you use dotnet restore instead of nuget.exe restore.
dotnet restore
nuget.exe restore
The issue was solved in my case when using specifically dotnet restore --runtime win-x64 .
dotnet restore --runtime win-x64