You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModuleType Version PreRelease Name ExportedCommands
-----------------------------------------------
Binary 1.2.0 Microsoft.PowerShell.PSResourceGet {Compress-PSRes…
Name Value
---------
PSVersion 7.6.0
PSEdition Core
GitCommitId 7.6.0
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
I already did.
(Find-PSResource -Name MyPackage -Repository LocalPSRepo -IncludeDependencies).Dependencies.VersionRange
MyPackage in nuspec has
LocalPSRepo\Packages\MyMainPackage has 2 folders 1.0.0 and 2.0.0
Instead of PSResource finding the 2.0.0, it instead shows 1.0.0. This is incorrect behaviour.
Activity
alerickson commentedon Aug 6, 2026
Hi ernger could you share the exact package name/ version / command you ran so we can repro more appropriately? Thanks!
ernger commentedon Aug 14, 2026
I already did.
(Find-PSResource -Name MyPackage -Repository LocalPSRepo -IncludeDependencies).Dependencies.VersionRange
MyPackage in nuspec has
LocalPSRepo\Packages\MyMainPackage has 2 folders 1.0.0 and 2.0.0
Instead of PSResource finding the 2.0.0, it instead shows 1.0.0. This is incorrect behaviour.
Do you need the whole VS Project with repository?
ernger commentedon Aug 26, 2026
The exact commands executed:

MyDependantPackage.nuspec:
MyPackage.nuspec
and