NuGet エラー NU5042
`project.json` pack is disabled in the current NuGet version, and will be permanently removed in a future version. Please consider migrating 'MyProject' to `PackageReference` and using the pack targets. You can set the 'NUGET_ENABLE_LEGACY_PROJECT_JSON_PACK' environment variable to 'true' to temporarily reenable this functionality.
問題点
project.json プロジェクト用の NuGet.exe パックはサポートされていません。
解決策
プロジェクトを PackageReference に移行し、代わりにパック ターゲットを使用します。
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示