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
The platform dependencies cannot be installed through Scoop as the install rules cannot install all required components. They will be installed through the Visual Studio installer.
28
28
29
-
> **NOTE:** This code snippet MUST be run in a traditional Command Prompt (`cmd.exe`).
29
+
<divclass="warning"markdown="1">
30
+
This code snippet must be run in a traditional Command Prompt (`cmd.exe`).
Copy file name to clipboardExpand all lines: install/windows/_traditional.md
+19-7Lines changed: 19 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
## Traditional Installation
2
2
3
-
> **NOTE:** The traditional installation process is required for Swift older than 5.4.2.
3
+
<divclass="warning"markdown="1">
4
+
The traditional installation process is required for Swift older than 5.4.2.
5
+
</div>
4
6
5
7
Swift has been tested with [Visual Studio](https://visualstudio.microsoft.com) 2019. You will need to install Visual Studio with the following components. The installer for Swift is available in the [Download](/download) section. The toolchain on Windows is typically installed to `%SystemDrive%\Library\Developer\Toolchains`.
6
8
@@ -34,11 +36,17 @@ After Visual Studio and the required components are installed:
34
36
35
37
### Support Files
36
38
37
-
> **NOTE:** This is only required for versions older than 5.4.2.
39
+
<divclass="info"markdown="1">
40
+
This is only required for versions older than 5.4.2.
41
+
</div>
38
42
39
-
You must use the `x64 Native Tools for VS2019 Command Prompt` to run the following steps. The `x64 Native Tools for VS2019 Command Prompt` runs the `DevEnv` script from Visual Studio that sets up the necessary environment variables to find the system headers.
43
+
<divclass="warning"markdown="1">
44
+
You must run the following commands using `x64 Native Tools for VS2019 Command Prompt` as administrator.
45
+
The `x64 Native Tools for VS2019 Command Prompt` sets up the necessary environment variables to find the system headers.
46
+
Administrator permission is required to modify the Visual Studio Installation.
47
+
</div>
40
48
41
-
In order to make the Windows SDK accessible to Swift, it is necessary to deploy a few files into the Windows SDK. The following will modify your Visual Studio Installation, and as such will require to be run from an (elevated) “Administrator” `x86 Native Tools for VS2019 Command Prompt`.
49
+
In order to make the Windows SDK accessible to Swift, it is necessary to deploy a few files into the Windows SDK.
@@ -51,13 +59,17 @@ Because it is installing the files into the Visual Studio image, the files will
51
59
52
60
### Repairing after Visual Studio Updates
53
61
54
-
> **NOTE:** This is only required for versions older than 5.9.0.
62
+
<divclass="info"markdown="1">
63
+
This is only required for versions older than 5.9.0.
64
+
</div>
55
65
56
-
If Visual Studio is updated, you may have to repair the installation. See Microsoft’s [instructions](https://support.microsoft.com/windows/repair-apps-and-programs-in-windows-10-e90eefe4-d0a2-7c1b-dd59-949a9030f317) for repairing installed programs.
66
+
If Visual Studio is updated, you may have to repair the installation. For versions older than 5.4.2, reinstall support files [as mentioned above](#support-files). For newer versions, see Microsoft’s [instructions](https://support.microsoft.com/windows/repair-apps-and-programs-in-windows-10-e90eefe4-d0a2-7c1b-dd59-949a9030f317) for repairing installed programs.
57
67
58
68
### Code Signing on Windows
59
69
60
-
> **NOTE:** The following commands MUST be run in PowerShell.
70
+
<divclass="warning"markdown="1">
71
+
The following commands must be run in PowerShell.
72
+
</div>
61
73
62
74
0. Install GPG from [GnuPG.org](https://gnupg.org/download/index.html)
0 commit comments