gpt4 book ai didi

sublimetext3 - 使用 Sublime Text 3 运行 Scriptcs 时出错

转载 作者:行者123 更新时间:2023-12-04 15:06:13 24 4
gpt4 key购买 nike

我已经将 Scriptcs 安装到 Sublime Text 3。
当我按 CTRL B 并构建我的 aspx 页面时,出现此错误。

'scriptcs' is not recognized as an internal or external command, operable program or batch file.



我正在尝试在 Sublime 上运行我的 aspx 页面。
我怎样才能解决这个问题 ?谢谢。

最佳答案

您需要添加 scriptcs给你PATH环境变量,否则系统找不到可执行文件。

该过程在 ScriptCS documentation 中有所描述。 :

For simplicity, we will be using the Chocolatey Nuget method of installation. Copy and paste the following command into your console. This will execute a PowerShell script that will download Chocolatey, place it on your local drive, and configure your path. Make sure to reload your session so your new path is loaded.

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

Next execute the following command in your console. This will download ScriptCS, place it on your local drive, and configure your path. Make sure to reload your session again so your new path is loaded.

cinst scriptcs



如果您更喜欢添加 scriptcs给您的 PATH手动(或者只是想对 PATH 有一个更好的总体了解),看看这个 excellent answer .

关于sublimetext3 - 使用 Sublime Text 3 运行 Scriptcs 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54885737/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com