安装完成后的路径在C:Program Filesdotnet
https://github.com/dotnet/cli/issues/390
===2017年06月29日===
安装成功之后,配置好环境变量,就可以运行dotnet命令了。
dotnet --version
1.0.4
创建一个控制台应用,并运行
PS D:ChuckLuGitGitHubChuckLu> mkdir dotnet
Directory: D:ChuckLuGitGitHubChuckLu
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2017/6/29 18:22 dotnet
PS D:ChuckLuGitGitHubChuckLu> cd .dotnet
PS D:ChuckLuGitGitHubChuckLudotnet> dotnet new console -o hwapp
Content generation time: 67.7956 ms
The template "Console Application" created successfully.
PS D:ChuckLuGitGitHubChuckLudotnet> ls
Directory: D:ChuckLuGitGitHubChuckLudotnet
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2017/6/29 18:22 hwapp
PS D:ChuckLuGitGitHubChuckLudotnet> cd .hwapp
PS D:ChuckLuGitGitHubChuckLudotnethwapp> dotnet restore
Restoring packages for D:ChuckLuGitGitHubChuckLudotnethwapphwapp.csproj...
Generating MSBuild file D:ChuckLuGitGitHubChuckLudotnethwappobjhwapp.csproj.nuget.g.props.
Generating MSBuild file D:ChuckLuGitGitHubChuckLudotnethwappobjhwapp.csproj.nuget.g.targets.
Writing lock file to disk. Path: D:ChuckLuGitGitHubChuckLudotnethwappobjproject.assets.json
Restore completed in 1.77 sec for D:ChuckLuGitGitHubChuckLudotnethwapphwapp.csproj.
NuGet Config files used:
C:UserscluAppDataRoamingNuGetNuGet.Config
C:Program Files (x86)NuGetConfigMicrosoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
C:Program Files (x86)Microsoft SDKsNuGetPackages
PS D:ChuckLuGitGitHubChuckLudotnethwapp> dotnet run
Hello World!