豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 654 Bytes

File metadata and controls

24 lines (17 loc) · 654 Bytes
title NuGet Warning NU5111
description NU5111 Warning code
author mishra14
ms.author jodou
ms.date 8/14/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU5111

NuGet Warning 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'.

Issue

An unrecognized .ps1 file was detected being packaged.

Solution

Please rename the file to init.ps1 and place it directly under tools folder for it to be compatible with NuGet tooling.