NEO Blockchain Quick Start Guide for .NET Developers - Activity 1

Author: Michael Herman
Original link: https://github.com/mwherman2000/neo-dotnetquickstart/blob/master/EN-us/01-installvisualstudio.md
Translation: NEL New Economy Lab

Download and install  Visual Studio 2017  Community Edition Integrated Development Environment ( IDE )

purpose

If you don't have an existing version of Visual Studio 2017 installed , this activity is designed to download, install and execute a basic configuration of Visual Studio 2017 Community Edition.

 

Goals, Non-Goals and Assumptions

Make sure you have a properly configured version of Visual Studio  2017 installed

Additional Visual Studio customization steps are covered in subsequent activities.

Visual Studio 2017 will install side-by-side with previous versions of Visual Studio without affecting them (except for reducing free disk space). This includes Visual Studio 2015 and Visual Studio Code , among others.

in principle

·  Provide reliable documentation: timely, accurate, intuitive and complete

·  Save as much time as possible

·  Use open source software whenever possible

driving factor

The  NEO .NET developer community needs to have concise and understandable documentation so that people can accelerate the development of NEO smart contracts in the shortest possible time


Download and install  Visual Studio 2017  Community Edition Integrated Development Environment ( IDE )

 

There are two scenarios

Scenario 1 - You do  n't have any version of Visual Studio 2017 installed

Scenario 2 You have an existing version of Visual Studio 2017 installed

If Scenario 1 applies to you, you need to perform the tasks in Scenario 1 and skip Scenario 2.

If only Scenario 2 applies to you, you can skip the tasks in Scenario 1 and only perform the tasks in Scenario 2 .

Also, having Visual Studio Code installed on your computer is very useful. The installation and configuration of Visual Studio  Code is documented as Scenario 3 and is optional, but recommended.

Visual Studio Code is a code editor redefined and optimized  for building and debugging modern web and cloud applications. Visual Studio Code is free and available for your favorite platforms  - Linux , Mac OSX and Windows . [ VSCODE]

 


Scenario 1 - You don't have any version of Visual Studio 2017 installed

1. Download the Visual Studio 2017 installer from one of the following two URLs

 Generic Visual Studio download site (all editions)  ( https://www.visualstudio.com/downloads/ )


Figure 1.1. Generic Visual Studio download site (all versions) 

 (https://www.visualstudio.com/vs/community/).



Figure 1.2. Specific download sites for  Visual Studio Community Edition


2.  In your Downloads folder, double-click the vs_community.ex e executable installer.

3.  Accept the Visual Studio EULA .


Figure 1.3. Accepting the Visual Studio EULA . 


4.  Select the workloads (options) you want to use for the traditional front-end, middle-tier, and back-end components of the solution.


Figure 1.4.  Visual Studio Installer


5.  Important:  Choose the .NET Core Cross-Platform Development Toolset to compile all NEO 's developer tools


Figure 1.5.  Visual Studio Installer: Toolset


6.  Click Modify to complete the installation

7.  Installation is complete


Figure 1.6. Installation complete 


8.  Test the installation. From the Windows start menu, enter "visual studio" . Select Visual Studio Application from the list . After a short delay, Visual Studio should start and look something like the one below.


Figure 1.7. Test installation 


Scenario 2 - You have an existing version of Visual Studio 2017 installed

If you have an existing version of Visual Studio 2017 installed, verify that the required set of workloads and toolsets are installed.

9. Start Visual Studio 2017


Figure 1.8. Visual Studio 2017


10.   In the Visual Studio toolbar, select Tools > Get Tools and Features .... The Visual Studio installer will start.


Figure  1.9. Visual Studio Installer


11. 继续执行场景1中的任务4(上述) 您没有安装任何版本的Visual Studio 2017并完成其余任务。


场景3  - (可选)安装和配置Visual Studio代码

12.从以下任一位置下载Visual Studio代码安装程序:

 Generic Visual Studio 下载网站 (所有版本) (https://www.visualstudio.com/downloads/)


1.10. 通用Visual Studio下载站点(所有版本)

· Visual Studio Code specific download site (https://code.visualstudio.com)



1.11. Visual Studio代码特定的下载网站


13.在您的下载文件夹中,双击VSCodeSetup-x64-1.20.0.exe可执行的安装程序。

14.按照默认安装说明完成。

15.测试安装。从Windows开始菜单中,输入“visual studio代码。从列表中选择Visual Studio代码应用程序。


此activity的任务已完成。前进到activity 2  - 下载并解压缩NEO开发人员工具项目(源代码)。


参考资料

Microsoft, Microsoft Visual Studio 代码网站:https://code.visualstudio.com/


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325726153&siteId=291194637
Recommended