zoukankan      html  css  js  c++  java
  • .net core的安装

    安装完成后的路径在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!

  • 相关阅读:
    cake缓存
    css 总结文章
    cakephp随笔
    41.2WebSocket Security网络套接字安全
    36.1 DelegatingSecurityContextRunnable委托安全上下文可运行
    Spring Data Integration
    40. Security Database Schema安全数据库模式
    36.2 DelegatingSecurityContextExecutor委托安全上下文执行器
    41. The Security Namespace
    41.3 Authentication Services认证服务
  • 原文地址:https://www.cnblogs.com/chucklu/p/7095851.html
Copyright © 2011-2022 走看看