NuGet 警告 NU5107

The file 'tools/subfolder/init.ps1' will be ignored by NuGet because it is not directly under 'tools' folder. Place the file directly under 'tools' folder.

問題点

フォルダー init.ps1 の下のフォルダーで tools ファイルが検出されました。

解決策

NuGet ツールと互換性を持つ init.ps1 フォルダーのすぐ下に tools ファイルを配置してください。