PowerShell / PowerShell/PowerShell-Native
Powershell FxDependent package cannot use New-PSSession
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 68
- Forks
- 46
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp around lines 1447-1462, and compare the trusted assembly lookup with RemotePowerShellConfig.txt under PSHOMEDIR and CORECLRDIR. Verify the framework-dependent package can create a session with New-PSSession using the configuration path shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100