Browse Source

Fix out-file encoding

pull/863/head
Siegfried Pammer 8 years ago
parent
commit
17dccc7b02
  1. 2
      BuildTools/update-assemblyinfo.ps1

2
BuildTools/update-assemblyinfo.ps1

@ -102,7 +102,7 @@ try {
$out = $out.Replace('$INSERTVERSIONNAMEPOSTFIX$', $postfixVersionName); $out = $out.Replace('$INSERTVERSIONNAMEPOSTFIX$', $postfixVersionName);
if (((Get-Content $file.Input) -Join [System.Environment]::NewLine) -ne $out) { if (((Get-Content $file.Input) -Join [System.Environment]::NewLine) -ne $out) {
$out | Out-File $file.Output; $out | Out-File -Encoding utf8 $file.Output;
} }
} }
} finally { } finally {

Loading…
Cancel
Save