diff --git a/OpenZiti.NET/update-nuspec.ps1 b/OpenZiti.NET/update-nuspec.ps1 index 50730a8..144f095 100644 --- a/OpenZiti.NET/update-nuspec.ps1 +++ b/OpenZiti.NET/update-nuspec.ps1 @@ -53,9 +53,10 @@ $settings = New-Object System.Xml.XmlWriterSettings $settings.OmitXmlDeclaration = $true $settings.Indent = $true $settings.NewLineOnAttributes = $false +$Settings.NewLineChars = "`r`n"; # Create a StreamWriter to write the XML to a file -$filePath = "${PSScriptRoot}\${OutputFile}" +$filePath = "${PSScriptRoot}/${OutputFile}" $absolutePath = [System.IO.Path]::GetFullPath($filePath) $streamWriter = [System.IO.StreamWriter]::new($absolutePath) $xmlWriter = [System.Xml.XmlWriter]::Create($streamWriter, $settings)