PowerShell / PowerShell/PowerShell-Native

Powershell FxDependent package cannot use New-PSSession

未关闭
#48 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C++
星标
68
派生
46
平均合并
3 天 4 小时
30 天内合并 PR
1

描述

When using Powershell framework dependent package, the trusted assembly list must be looked up at two locations, under PSHOMEDIR and CORECLRDIR from the c:\Windows\System32\PowerShell\7.0.0-rc.3\RemotePowerShellConfig.txt file.

https://github.com/PowerShell/PowerShell-Native/blob/d4acbd519d1c77e07abc894db42853055ef65f55/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp#L1447-L1462

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp 的第 1447–1462 行附近开始,并将受信任程序集查找与 PSHOMEDIR 和 CORECLRDIR 下的 RemotePowerShellConfig.txt 进行比较。验证 framework-dependent 包能否使用 issue 中显示的配置路径通过 New-PSSession 创建会话。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, powershell
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。