Find-PSResource IncludeDependencies incorrectly parses VersionRange
Maintainer thường phản hồi trong vòng 1 ngày
@anamnavi đang làm issue này rồi.
Từ ngày 6/8/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
Package is published with nuspec specifying
<dependencies>
<dependency id="MyPackage" version="1.0.0" />
</dependencies>
Find-PSResource incorrectly sets the maximum version as 1.0.0 too, resulting in Save-PSResource not finding "MyPackage" with version 2.0.0.
This goes against MSFT documentation https://learn.microsoft.com/en-us/nuget/concepts/package-versioning?tabs=semver20sort#version-ranges
Find-Module and Save-Module work correctly.
Tested with Azure and locally hosted https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server
(Find-PSResource -Name MyPackage -Repository LocalPSRepo -IncludeDependencies).Dependencies.VersionRange
Expected behavior
IsFloating : False
MinVersion : 1.0.0
MaxVersion : // Maybe this shouldn't exist at all
HasLowerBound : True
IsMinInclusive : True
HasUpperBound : False
IsMaxInclusive : False //Not sure on this
HasLowerAndUpperBounds : True
Float :
OriginalString : 1.0.0
Actual behavior
IsFloating : False
MinVersion : 1.0.0
MaxVersion : 1.0.0
HasLowerBound : True
IsMinInclusive : True
HasUpperBound : True
IsMaxInclusive : True
HasLowerAndUpperBounds : True
Float :
OriginalString : 1.0.0
Environment data
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
- Ngôn ngữ chính
- C#
- Star
- 577
- Fork
- 114
- Merge trung bình
- 23 giờ 17 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectoryĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PowerShell/PSResourceGet#2056 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature_request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
PowerShell/PSResourceGet#2013 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Needs-Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
PowerShell/PSResourceGet#2060 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Needs-Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
PowerShell/PSResourceGet#2059 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Use GitHub app token to authenticate to GitHub resourcesCó thể đã có người làm @adityapatwardhan đã nhận 12 ngày trước. Đang mởfeature_request Needs-Triage
PowerShell/PSResourceGet#2057 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PowerShell/PSResourceGet
Issue tương tự
-
[Bug]: Missing extensions in Agent Card capabilities in v0.3 compat modeCó thể đã có người làm @hwanders đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
a2aproject/a2a-dotnet#514 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
agentic-workflows untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Webview: rotary icons to TablerĐang mởVS Code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
AlamoEngine-Tools/pg-starwarsgame-lsp#207 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
elsa-workflows/elsa-core#8593 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GpioController.QueryComponentInformation() throws NotSupportedException with RaspberryPi3DriverĐang mởuntriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100