NuGet 警告 NU5123

The file 'content/<LongPath>/readme.txt' path, name, or both are too long. Your package might not work without long file path support. Please shorten the file path or file name.

問題点

200 文字マスコットを超えるパスがインストールされているファイルが検出されました。 インストールされたパスは、nuspec ファイルの<files>セクションのtargetプロパティ内でtarget_file_pathが定義されている<package_id>/<version>/target_file_pathとして定義されます。

解決策

パッケージに含まれるすべてのファイルのパス<package_id>/<version>/target_file_pathが 200 文字未満であることを確認してください。target_file_pathは、nuspec ファイルの<files>セクションのtargetプロパティで定義されています。