修订完vs 2015

This commit is contained in:
Zhicheng Wang
2017-04-15 18:53:36 +08:00
parent 7448a25f18
commit d00b09e1dc
@@ -16,7 +16,7 @@ include ../_util-fns
There is no *live example* for this cookbook because it describes Visual Studio, not
the QuickStart application itself.
本烹饪宝典中没有*在线例子*,因为它介绍的是Visual Studio,而不是应用程序。
本烹饪宝典中没有*在线例子*,因为它介绍的是Visual Studio,而不是《快速起步》应用程序本身
.l-main-section
<a id="asp-net-4"></a>
@@ -157,12 +157,12 @@ h2#prereq3
.l-main-section
h2#prereq4
p Prerequisite: Install TypeScript 2.2 for Visual Studio 2015
p 前提条件: 安装TypeScript 2 for Visual Studio 2015
p 前提条件: 安装TypeScript 2.2 for Visual Studio 2015
:marked
While Visual Studio Update 3 ships with TypeScript support out of the box, it currently doesnt ship with TypeScript 2.2,
which you need to develop Angular applications.
Visual Studio Update 3自带TypeScript支持,但是它的TypeScript版本开发Angular应用需要的不是2。
Visual Studio Update 3自带TypeScript支持,但是它的TypeScript版本开发Angular应用需要的不是2.2
To install TypeScript 2.2:
@@ -194,7 +194,7 @@ h2#download
[Download the QuickStart source](https://github.com/angular/quickstart)
from GitHub. If you downloaded as a zip file, extract the files.
github[下载“快速起步”的源代码](https://github.com/angular/quickstart)。如果下载的是一个压缩的zip文件,解压它。
GitHub[下载“快速起步”的源代码](https://github.com/angular/quickstart)。如果下载的是一个压缩的zip文件,解压它。
.l-main-section
h2#create-project
@@ -242,7 +242,7 @@ h2#copy 第三步: 拷贝“快速起步”的文件到ASP.NET项目所在的目
Copy the QuickStart files you downloaded from GitHub into the folder containing the `.csproj` file.
Include the files in the Visual Studio project as follows:
拷贝从github下载的“快速起步”文件到包含`.csproj`文件的目录中。按照下面的步骤把它们加到Visual Studio中:
拷贝从GitHub下载的“快速起步”文件到包含`.csproj`文件的目录中。按照下面的步骤把它们加到Visual Studio中:
* Click the `Show All Files` button in Solution Explorer to reveal all of the hidden files in the project.
@@ -302,7 +302,8 @@ h2#restore
* When the restore is finished, a message in the bottom message bar of Visual Studio
should say: `Installing packages complete`. Be patient. This could take a while.
当恢复完成后,将会出现一条消息:`npm command completed with exit code 0`.
当恢复完成后,将会出现一条消息:`Installing packages complete`。耐心点,这相当耗时间。
* Click the `Refresh` icon in Solution Explorer.
在Solution Explorer里,点击`Refresh`图标。
@@ -320,7 +321,7 @@ h2#build-and-run 第五步:构建和运行应用
First, ensure that `src/index.html` is set as the start page.
Right-click `index.html` in Solution Explorer and select option `Set As Start Page`.
首先,确认`index.html`已被设置为开始页面。
首先,确认`src/index.html`已被设置为开始页面。
在Solution Explorer中,右键点击`index.html`,选择选项`Set As Start Page`。
### To run in VS with F5