Steps to solve.
- Remove all 1.0.0.1 packages (also x86) from PowerShellGet and PackageManagement module folders
- Replace nuget.exe in
C:\Users\<username>\AppData\Local\Microsoft\Windows\PowerShell\PowerShellGet
- Install a current .NET SDK
- When using a German OS, replace this line in
C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1
- Possibly avoid VPN connection for publishing
#$stdOut -match "Successfully created package '(.*.nupkg)'" | Out-Null