Automatic native and managed DLLs extracting from Nuget Package

前端 未结 2 540
长发绾君心
长发绾君心 2020-11-28 06:59

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.

2条回答
  •  渐次进展
    2020-11-28 07:28

    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.

    The issue was solved in my case when using specifically dotnet restore --runtime win-x64 .

提交回复
热议问题