简体   繁体   English

如何让 nuget.exe 对 powershell 可见?

[英]How to get nuget.exe visible for powershell?

I'm trying to get nuget running on my buildserver.我试图让 nuget 在我的构建服务器上运行。 As you can see in the screenshot, it has been added to $env:path but can't be invoked.正如您在屏幕截图中看到的,它已添加到 $env:path 但无法调用。 Does somebody encountered similar problems and has a solution for me?有人遇到过类似的问题并为我提供解决方案吗?

Kind regards Paul亲切的问候保罗

在此处输入图像描述

The Path variable points to the.exe not the directory. Path 变量指向.exe 而不是目录。 It has to be "C:\program files\nuget" instead.它必须是“C:\program files\nuget”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM