UiPath / orchestrator-powershell

UiPath Orchestrator PowerShell cmdlet library
MIT License
107 stars 56 forks source link

Move Module publication to powershellgalery.com and use PoSh spec format #21

Closed rusanu closed 5 years ago

rusanu commented 5 years ago

Ref:

rusanu commented 5 years ago

The ModuleVersion in the psd1 must match the nuger version...

PS C:\Users\remus.rusanu> Import-Module C:\Users\remus.rusanu\Documents\WindowsPowerShell\Modules\UiPath.PowerShell\18.3.2.50091\UiPath.PowerShell.psd1
Import-Module : The module to process 'lib\nt452\UiPath.PowerShell.dll', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Users\remus.rusanu\Documents\WindowsPowerShell\Modules\UiPath.PowerShell\18.3.2.50091\UiPath.PowerShell.psd1' was not processed because no valid module was found in any module directory.

https://medium.com/@jsrice7391/creating-a-nuget-build-pipeline-for-powershell-modules-within-vsts-cb75e06161e0