共用方式為


NuGet 警告 NU5100

The assembly 'bin\Debug\net461\project.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced.

問題

正在封裝的資料夾包含不在 lib 資料夾中的元件檔案。

解決方案

封裝資料夾時,請確定所有元件檔案都放在資料夾下的 lib 架構特定資料夾內。 如需資料夾結構的詳細資訊,請參閱 Framework 版本資料夾結構