
2.2.1 安装Visual Studio 2017
安装Visual Studio 2017的步骤如下。
(1)登录Microsoft Visual Studio官网,如图2-6所示。

图2-6 Microsoft Visual Studio官网
(2)单击“下载Visual Studio”中的“Enterprise 2017”链接开始下载,如图2-7所示。下载后得到一个exe格式的安装文件“vs_enterprise__2050403917.1499848758.exe”,如图2-8所示。

图2-7 “Enterprise 2017”链接

图2-8 安装文件
(3)右击下载文件“vs_enterprise__2050403917.1499848758.exe”,使用管理员模式进行安装。在弹出的界面中单击“继续”按钮,这表示同意了许可条款,如图2-9所示。

图2-9 单击“继续”按钮
(4)在弹出的“正在安装”界面中选择你要安装的模块,本书需要安装如下模块:
❑ 通用Windows平台开发
❑ .NET桌面开发
❑ ASP.NET和Web开发
❑ 数据存储和处理
❑ 使用.NET的移动开发(使用鼠标向下滑动即可看到此模块)
上述各模块的具体说明在本界面中也进行了详细介绍,如图2-10所示。在界面的左下角可以设置安装路径,单击“安装”按钮后开始进行安装。

图2-10 “正在安装”界面
(5)单击“安装”按钮后会弹出安装进度界面,这个过程比较耗费时间,读者需要耐心等待,如图2-11所示。

图2-11 安装进度对话框
(6)安装成功后的界面如图2-12所示。

图2-12 安装成功的界面
(7)单击计算机“开始”菜单,从“所有应用”中选择“Visual Studio 2017”就可打开刚安装的Visual Studio 2017,如图2-13所示。

图2-13 从“开始”菜单打开Visual Studio 2017
(8)首次打开Microsoft Visual Studio 2017后,将会弹出“以熟悉的环境启动”界面。因为本书讲解的是C语言开发,所以选择“Visual C#++”开发设置选项,如图2-14所示。然后单击“启动Visual Studio”按钮后开始配置,如图2-15所示。

图2-14 选择“Visual C++开发设置”选项

图2-15 “以熟悉的环境启动”界面
(9)配置完成后将来到Microsoft Visual Studio 2017的集成开发界面,如图2-16所示。

图2-16 Microsoft Visual Studio 2017默认的集成开发界面