Advertencia de 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'.

Problema

Se ha detectado el empaquetado de un archivo .ps1 no reconocido.

Solución

Cambie el nombre del archivo a init.ps1 y colóquelo directamente en la carpeta tools para que sea compatible con las herramientas de NuGet.