Prerequisites
Steps to reproduce
(1) Create and build an application hosting PowerShell SDK 7.6.0 (this scenario does not show the bug)
(1) Create an application which loads an assembly hosting PowerShell SDK 7.6.0 (addon scenario)
(2) Invoke some method in this assembly witch gets and returns $PSVersionTable
NB My existing app and addon are too complex to present here. I will try to build a simple demo app.
But I keep the issue, just in case the team has some ideas why this happens.
Expected behavior
Actual behavior
Environment data
Note: it shows the wrong version, it should show 7.6.0
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Prerequisites
Steps to reproduce
(1) Create and build an application hosting PowerShell SDK 7.6.0(this scenario does not show the bug)(1) Create an application which loads an assembly hosting PowerShell SDK 7.6.0 (addon scenario)
(2) Invoke some method in this assembly witch gets and returns
$PSVersionTableNB My existing app and addon are too complex to present here. I will try to build a simple demo app.
But I keep the issue, just in case the team has some ideas why this happens.
Expected behavior
`PSVersion` is 7.6.0Actual behavior
`PSVersion` is 7.5.4Environment data
Visuals
No response