Skip to content

Utils.DefaultPowerShellAppBase gives the wrong directory for $PSHOME when downloading nuget package #8323

@drocs

Description

@drocs

This makes the ModuleIntrinsics.GetModulePath function call add the directory c:\users\<username>\.nuget\packages\system.management.automation\6.1.1\runtimes\win-x64\lib\netstandard2.0\Modules to the $env:PSModulePath, rather than the expected C:\Windows\System32\WindowsPowerShell\v1.0\Modules directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-No ActivityIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions