PublishPowerShellModule fails if PackageManagement/PowerShellGet modules are installed globally
splatteredbits opened this issue · 0 comments
splatteredbits commented
If there are other PackageManagement
and PowerShellGet
modules installed globally, the PublishPowerShellModule
task will fail when publishing to a ProGet-based repository.
The solution is to update the env:PSModulePath
environment variable so that only the PackageManagement and PowerShellGet modules that ship with Whiskey can be "seen" by these modules. Sigh