Skip to content

Commit cd6242b

Browse files
committed
Flipping the order of 15.2 and 15.3 instructions
1 parent ccc0abc commit cd6242b

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

Updating-TypeScript-in-Visual-Studio-2017.md

+17-16
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ You will need Visual Studio 2017 version 15.2 or later in order to change your T
77
Depending on which version you have, there are slightly different instructions for managing your TypeScript versions.
88
That said, using the latest available version of Visual Studio will provide the best experience.
99

10+
## Setting TypeScript versions in Visual Studio 2017 version 15.3
11+
12+
In Visual Studio 2017 version 15.3 and later, the TypeScript version used is bound to individual projects.
13+
14+
1. Right click on the project node in Solution Explorer
15+
2. Click **Properties**
16+
3. Go to the **TypeScript Build** tab
17+
4. Change **TypeScript version** to the desired version or "use latest available" to always default to the newest version installed
18+
19+
![15.3 properties page](https://user-images.githubusercontent.com/820883/27146889-b7498fd2-50ef-11e7-86c3-af1d84bf3d1d.png "15.3 properties page")
20+
21+
When setting a TypeScript version on a project, the project becomes fixed on that version.
22+
Even if a new TypeScript version becomes available through a Visual Studio update or a manual SDK download, the project will **still use the version it is fixed to**.
23+
To stay on the latest version, we encourage you to set your projects to "use latest available" as described in step 4 above.
24+
25+
> Note! If multiple projects are loaded with different TypeScript versions set in the properties page, the **latest** TypeScript version of all versions specified will take precedence.
26+
1027
## Setting TypeScript versions in Visual Studio 2017 version 15.2
1128

1229
During installation of Visual Studio 2017 version 15.2, TypeScript 2.2 will be automatically included with the Web, Node.js, Universal Windows, or Mobile JavaScript workloads. TypeScript 2.1 can also be selected from the 'Individual Components' installer page.
@@ -28,19 +45,3 @@ In Visual Studio 2017 version 15.2 you are limited to setting a global TypeScrip
2845
This means that if you have two projects that use different TypeScript compiler versions, you will have to manually toggle the setting each time you switch projects.
2946
This is not ideal, so if possible, upgrade to Visual Studio 2017 15.3 and follow the instructions below.
3047

31-
## Setting TypeScript versions in Visual Studio 2017 version 15.3
32-
33-
In Visual Studio 2017 version 15.3 and later, the TypeScript version used is bound to individual projects.
34-
35-
1. Right click on the project node in Solution Explorer
36-
2. Click **Properties**
37-
3. Go to the **TypeScript Build** tab
38-
4. Change **TypeScript version** to the desired version or "use latest available" to always default to the newest version installed
39-
40-
![15.3 properties page](https://user-images.githubusercontent.com/820883/27146889-b7498fd2-50ef-11e7-86c3-af1d84bf3d1d.png "15.3 properties page")
41-
42-
When setting a TypeScript version on a project, the project becomes fixed on that version.
43-
Even if a new TypeScript version becomes available through a Visual Studio update or a manual SDK download, the project will **still use the version it is fixed to**.
44-
To stay on the latest version, we encourage you to set your projects to "use latest available" as described in step 4 above.
45-
46-
> Note! If multiple projects are loaded with different TypeScript versions set in the properties page, the **latest** TypeScript version of all versions specified will take precedence.

0 commit comments

Comments
 (0)