Share via


Aviso do 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

Um arquivo .ps1 não reconhecido foi detectado sendo empacotado.

Solução

Renomeie o arquivo para init.ps1 e coloque-o diretamente na pasta tools para que ele seja compatível com as ferramentas NuGet.