首页 > Web开发 > 详细

.NET Core installation guide

时间:2017-01-15 22:28:28      阅读:264      评论:0      收藏:0      [点我收藏+]

 

.NET Core installation guide

 

1.Download Visual Studio 2015

    Make sure you have Visual Studio 2015 Update 3 installed.

    Download Visual Studio 2015 with Update 3

    Or just download Visual Studio 2015 Update 3 if you already have Visual Studio 2015 installed.

2.

         Install the .NET Core tools preview for Visual Studio

         .NET Core tools add support for .NET Core projects in Visual Studio 2015.

          Download .NET Core 1.0.1 tools Preview 2

3.

  Create a new .NET Core project

  Click on File / New project and select the project template C# / .NET Core / Console application (.NET Core).

    技术分享

4.

   Add some code

    Write some code in your Main method.

  技术分享

5.

   Run your application

   Click on the menu item Debug / Start debugging to launch and debug your new .NET Core application from Visual Studio.

   技术分享

 

 

 

3.1.2 简单的运行结果

 

打开cmd,依次输入mkdir .project(创建目录),cd .\.project(进入目录),dotnet new(新建初始项目),dotnet restore(还原依赖),dotnet run(运行)即可运行第一个Hello World程序

技术分享

 

.NET Core installation guide

原文:http://www.cnblogs.com/laopo/p/6287937.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!