fix encoding in generated files
This commit is contained in:
parent
9706ffd7d9
commit
9a92d35fd4
@ -40,7 +40,7 @@ function Restore-Nuget {
|
||||
New-Item -ItemType Directory -Path "$PSScriptRoot\.packages" | Out-Null
|
||||
}
|
||||
$PackagesConfigPath = Join-Path $PSScriptRoot ".packages\packages.config"
|
||||
$PackagesConfigContent | Out-File -FilePath $PackagesConfigPath
|
||||
$PackagesConfigContent | Out-File -FilePath $PackagesConfigPath -Encoding ascii
|
||||
|
||||
& $NugetDownloadPath restore $PackagesConfigPath -PackagesDirectory $PackagesDir | Out-Null
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
@ -117,7 +117,7 @@ function Invoke-SwiftWinRT() {
|
||||
|
||||
# write rsp params to file
|
||||
$RspFile = Join-Path $PSScriptRoot "swift-winrt.rsp"
|
||||
$RspParams | Out-File -FilePath $RspFile
|
||||
$RspParams | Out-File -FilePath $RspFile -Encoding ascii
|
||||
& $PackagesDir\TheBrowserCompany.SwiftWinRT.$SwiftWinRTVersion\bin\swiftwinrt.exe "@$RspFile"
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user