File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ Note in the readme the extension only works with SPM projects
2
+
3
+ Clarify that the extension is meant to work with Swift Package Manager
4
+ based projects, and supporting Xcode projects is not well supported.
5
+
6
+ Fixes: #1636
7
+ # Please enter the commit message for your changes. Lines starting
8
+ # with '#' will be ignored, and an empty message aborts the commit.
9
+ #
10
+ # On branch note-spm-readme
11
+ # Changes to be committed:
12
+ # modified: README.md
13
+ #
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ if ($LASTEXITCODE -ne 0) {
86
86
}
87
87
88
88
Write-Host " Swift version:"
89
- Write-Host " $swiftVersionOutput "
89
+ Write-Host " $swiftVersionOutput "
90
90
91
91
$versionLine = $swiftVersionOutput [0 ]
92
92
if ($versionLine -match " Swift version (\d+)\.(\d+)" ) {
@@ -104,6 +104,8 @@ if ($versionLine -match "Swift version (\d+)\.(\d+)") {
104
104
if ($majorVersion -lt 6 -or ($majorVersion -eq 6 -and $minorVersion -lt 1 )) {
105
105
Write-Host " Swift version is < 6.1, injecting windows SDK build arguments"
106
106
Update-SwiftBuildAndPackageArguments
107
+
108
+ winget install -- id Microsoft.VisualStudio.2022. Community -- exact -- silent -- accept- package- agreements -- accept- source- agreements -- custom " --add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64"
107
109
}
108
110
} else {
109
111
Write-Host " Match failed for output: `" $versionLine `" "
You can’t perform that action at this time.
0 commit comments