[英]C#, How Do I Get Mono Configured on Windows Powershell (Windows 10)? (Environmental Variable PATH)
I installed mono-4.6.2.16-x64-0.msi on my desktop. 我在桌面上安装了mono-4.6.2.16-x64-0.msi。 I tried to add an environmental variable by going to Control Panel > Systems > Advanced Systems > Environmental Variables > PATH > Edit > Add > C:\\Users\\myAccount\\Desktop (where I installed Mono) then after clicking OK, I opened Windows Powershell but the PATH was not set.. and when I typed "mono --version" it gave a message "The term 'mono' is not recognized.'
我试图通过以下方法添加环境变量:“控制面板”>“系统”>“高级系统”>“环境变量”>“ PATH”>“编辑”>“添加”>“ C:\\ Users \\ myAccount \\ Desktop”(我在其中安装了Mono),然后单击“确定”后,我打开了Windows Powershell但是未设置PATH。当我键入“ mono --version”时,它提示“无法识别术语'mono'。” What should I do?
我该怎么办?
By defaul the mono-4.6.2.16-x64-0.msi install mono in C:\\Program Files\\Mono
. 通过默认将mono-4.6.2.16-x64-0.msi安装在
C:\\Program Files\\Mono
。 If you add the path C:\\Program Files\\Mono\\bin
to your user path, you can then start mono from PowerShell and it works. 如果将路径
C:\\Program Files\\Mono\\bin
到您的用户路径,则可以从PowerShell启动mono,这样就可以了。
Now you just have to adapt this to your installation. 现在,您只需要使它适应您的安装即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.