NuGet 警告 NU5111

The script file 'tools\random.ps1' is not recognized by NuGet and hence will not be executed during installation of this package. Rename it to install.ps1, uninstall.ps1 or init.ps1 and place it directly under 'tools'.

問題点

認識できない .ps1 ファイルがパッケージ化されていることを検出した。

解決策

NuGet ツールと互換性を持つファイルの名前を init.ps1 に変更し、toolsフォルダーに直接配置してください。