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 版本文件夹结构