You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
10
27
## Setting TypeScript versions in Visual Studio 2017 version 15.2
11
28
12
29
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
28
45
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.
29
46
This is not ideal, so if possible, upgrade to Visual Studio 2017 15.3 and follow the instructions below.
30
47
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
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