您的位置:首页 > 其它

VS Code for .Net core 1.0 environment configuration

2016-02-28 17:26 399 查看

Getting Started:

1.Install VS Code at
 https://code.visualstudio.com/

2.Install node.js at https://nodejs.org/en/ which I take v5.7.0 Stable as mine.

3.Open cmd and run the following code:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"

p.s. There might be an error like "powershell is not recognized"  and you should simply do 2 more steps:

search powershell in your windows searchbox and right click and open its folder to find the route like "C:\WINDOWS\system32\WindowsPowerShell\v1.0"
add it to the environment variable "path" file in advanced setting
again  run the code in your cmd console, now it works!

run dnvm to check if you have successfully installed, a correct installation will be like this

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  .net VScode