Error de 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.
Problema
No se admite el paquete NuGet.exe para proyectos project.json.
Solución
Migre el proyecto a PackageReference y use los destinos del paquete en su lugar.
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de