Xero Redirect URI for OAuth2 and Desktop Apps

This post is about Xero OAuth2 for desktop apps, but the same concepts generally apply to all other applications (REST API apps) using OAuth2. What many developers don’t initially realize (if new to OAuth2) is that an “App” needs to be defined in the developer portal for the service (i.e. Xero in this case).   For Xero, you would login to […]

Add-Type PowerShell Error for ChilkatDotNet47.dll

Problem:   The following command: Add-Type -Path “C:\chilkat\ChilkatDotNet47-9.5.0-x64\ChilkatDotNet47.dll” results in the following errors when attempting to run in PowerShell: + Add-Type -Path”C:\chilkat\chilkatdotnet47-9.5.0-x64\ChilkatDotNet47.d … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : InvalidData : (Microsoft.Power…peCompilerError:AddTypeCompilerError) [Add-Type], Exception + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand Add-Type : Impossible d’ajouter un type. Des erreurs de compilation se sont produites. Au caractère C:\ProgramData\C1B2.ps1:1 : 1 + Add-Type -Path”C:\chilkat\chilkatdotnet47-9.5.0-x64\ChilkatDotNet47.d … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ […]