Skip to content

[BUG] .NET Tool update from custom source not found #5751

Closed

Description

@Otiel

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

2026.3.4

Windows version, edition, and architecture

Windows 10 Pro 19045 x64

Describe your issue

Following issue #5493 and its implementation in PR #5671, I tried to list updates for a .NET tool hosted on a private source (Artifactory and a local folder). Sadly, UniGetUI lists no update whereas there is one available, as seen on this command:

❯ dotnet tool update --global --all
Tool 'xxx-dotnet-nk' was successfully updated from version '3.1.0' to version '3.1.1'.

Steps to reproduce the issue

  • Have one private NuGet source
  • Publish an update for a .NET tool
  • Go to "Software Updates" tab
  • Hit "Reload"

UniGetUI Log

[13/11/2026 17:36:25]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 2026.3.4
[13/11/2026 17:36:25]   
[13/11/2026 17:36:25] Build 107
[13/11/2026 17:36:25] UI Framework: Avalonia
[13/11/2026 17:36:25] Data directory C:\Users\******\AppData\Local\UniGetUI
[13/11/2026 17:36:25] OS: Microsoft Windows 10.0.19045
[13/11/2026 17:36:25] Process arch: X64 (OS: X64)
[13/11/2026 17:36:25] Runtime: .NET 10.0.15
[13/11/2026 17:36:25] UI font: Segoe UI, Arial, Tahoma, Cascadia Code
[13/11/2026 17:36:25] UI font fallbacks: Nirmala UI, Leelawadee UI, Microsoft YaHei UI, Microsoft YaHei, SimSun, SimSun-ExtB, Microsoft JhengHei UI, Microsoft JhengHei, MingLiU-ExtB, Yu Gothic UI, Yu Gothic, Malgun Gothic
[13/11/2026 17:36:25] Loaded language locale: en
[13/11/2026 17:36:25] Elevated: False
[13/11/2026 17:36:25] Packaged (MSIX): False
[13/11/2026 17:36:25] Args: (none)
[13/11/2026 17:36:25] DXGI hardware GPU detection took 8,3 ms; hardware GPU: True
[13/11/2026 17:36:25] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found.
                      
                      Cannot get credential from Vault
[13/11/2026 17:36:25] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found.
                      
                      Cannot get credential from Vault
[13/11/2026 17:36:25] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found.
                      
                      Cannot get credential from Vault
[13/11/2026 17:36:25] Starting Avalonia shell bootstrap
[13/11/2026 17:36:25] Loaded language locale: en
[13/11/2026 17:36:25] Auto-updater: disabled by user setting, skipping.
[13/11/2026 17:36:25] Generated a IPC API auth token for the current session
[13/11/2026 17:36:25] PowerShell7 is not enabled
[13/11/2026 17:36:25] Using built-in UniGetUI Elevator at C:\Program Files\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe
[13/11/2026 17:36:25] Npm is not enabled
[13/11/2026 17:36:25] PowerShell is not enabled
[13/11/2026 17:36:25] Scoop is not enabled
[13/11/2026 17:36:25] Begin "which" search for command dotnet.exe
[13/11/2026 17:36:25] Chocolatey is not enabled
[13/11/2026 17:36:25] Installer is not enabled
[13/11/2026 17:36:25] Failed to load icon and screenshot database
[13/11/2026 17:36:25] Begin "which" search for command winget.exe
[13/11/2026 17:36:25] vcpkg is not enabled
[13/11/2026 17:36:25] Cargo is not enabled
[13/11/2026 17:36:25] Bun is not enabled
[13/11/2026 17:36:25] Pip is not enabled
[13/11/2026 17:36:25] Command dotnet.exe was found on C:\Program Files\dotnet\dotnet.exe (with 0 more occurrences)
[13/11/2026 17:36:25] Command winget.exe was found on C:\Users\******\AppData\Local\Microsoft\WindowsApps\winget.exe (with 0 more occurrences)
[13/11/2026 17:36:25] Begin "which" search for command pinget.exe
[13/11/2026 17:36:25] Command pinget.exe was not found on the system
[13/11/2026 17:36:25] System.IO.FileNotFoundException: Could not find file 'C:\Users\******\AppData\Local\UniGetUI\CachedMetadata\Icon Database.json'.
                      File name: 'C:\Users\******\AppData\Local\UniGetUI\CachedMetadata\Icon Database.json'
                         at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions) + 0x17e
                         at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x44
                         at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x50
                         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x6c
                         at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64) + 0x81
                         at System.IO.File.AsyncStreamReader(String, Encoding) + 0x58
                         at System.IO.File.<InternalReadAllTextAsync>d__94.MoveNext() + 0x41
                      --- End of stack trace from previous location ---
                         at UniGetUI.Core.IconEngine.IconDatabase.<LoadFromCacheAsync>d__12.MoveNext() + 0x60
[13/11/2026 17:36:25] Api running on named pipe UniGetUI.IPC
[13/11/2026 17:36:26] .NET Tool is enabled and was found on C:\Program Files\dotnet\dotnet.exe
[13/11/2026 17:36:26] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool (aka .NET Tool)
                      █ Executable name: "dotnet tool"
                      █ Executable path: "C:\Program Files\dotnet\dotnet.exe"
                      █ Call arguments: "tool "
                      █ Version: 11.0.100
                      █          
                      █ .NET Tool is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[13/11/2026 17:36:26] Connected to WinGet API using packaged COM activation.
[13/11/2026 17:36:26] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[13/11/2026 17:36:26] Winget is enabled and was found on C:\Users\******\AppData\Local\Microsoft\WindowsApps\winget.exe
[13/11/2026 17:36:26] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: WinGet (aka Winget)
                      █ Executable name: "winget.exe"
                      █ Executable path: "C:\Users\******\AppData\Local\Microsoft\WindowsApps\winget.exe"
                      █ Call arguments: ""
                      █ Version: System WinGet (CLI) Version: v1.29.380
                      █          Using Native WinGet helper (COM Api)
                      █          Activation mode: packaged COM registration
                      █          Activation source: system COM registration
                      █          
                      █ WinGet is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[13/11/2026 17:36:26] Loaded 1 sources for manager Winget
[13/11/2026 17:36:26] Loaded 3 sources for manager .NET Tool
[13/11/2026 17:36:26] Waiting for the installed packages of .NET Tool before checking its updates
[13/11/2026 17:36:26] Waiting for the installed packages of Winget before checking its updates
[13/11/2026 17:36:26] Integrity check passed successfully!
[13/11/2026 17:36:26] Avalonia shell bootstrap completed
[13/11/2026 17:36:26] Found 3 installed packages from .NET Tool
[13/11/2026 17:36:26] Manager .NET Tool has not implemented RefreshPackageIndexes
[13/11/2026 17:36:27] Found 3 installed packages from .NET Tool
[13/11/2026 17:36:29] Found 0 available updates from .NET Tool
[13/11/2026 17:36:31] Version string 6000.0.68f1 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[13/11/2026 17:36:31] Version string 6000.0.68f1 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[13/11/2026 17:36:32] Version string 2021.3.11f1 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[13/11/2026 17:36:32] Version string 2021.3.11f1 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[13/11/2026 17:36:32] Found 137 installed packages from Winget
[13/11/2026 17:36:32] Cached icon for id=7zip.7zip is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=AutoHotkey.AutoHotkey is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=chrisant996.Clink is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=DBeaver.DBeaver.Community is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=DBBrowserForSQLite.DBBrowserForSQLite is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=JGraph.Draw is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Telerik.Fiddler.Classic is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=voidtools.Everything.Beta is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Git.Git is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=MHNexus.HxD is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=JRSoftware.InnoSetup is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=KDE.KDiff3 is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=DominikReichl.KeePass is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Mattermost.MattermostDesktop is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=sylikc.JPEGView is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Microsoft.DotNet.SDK.10 is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Microsoft.Edge is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Microsoft.VisualStudioCode is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:32] Cached icon for id=Mockoon.Mockoon is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Mozilla.Thunderbird is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Mozilla.Firefox is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=dotPDN.PaintDotNet is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Podman.Cli is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Discarding undecodable icon 'C:\Program Files (x86)\Realtek\Audio\USBAud\RtSetupAPI64.dll': Object reference not set to an instance of an object.
[13/11/2026 17:36:33] Cached icon for id=Daum.PotPlayer is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Podman.Desktop is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=NickeManarin.ScreenToGif is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Devolutions.RemoteDesktopManager is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Devolutions.UniGetUI is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=GlavSoft.TightVNC is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=VideoLAN.VLC is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Winaero.Tweaker is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=SamHocevar.WinCompose is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=WinSCP.WinSCP is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=AntibodySoftware.WizTree is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Yaap.app is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:33] Cached icon for id=Entropy6.XMeters is valid and won't be downloaded again (SHA256)
[13/11/2026 17:36:37] Failed to download icons and screenshots
[13/11/2026 17:36:37] System.Net.Http.HttpRequestException: No such host is known. (github.com:443)
                       ---> System.Net.Sockets.SocketException (11001): No such host is known.
                         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError, CancellationToken) + 0x3d
                         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16) + 0x4e
                         at System.Net.Http.HttpConnectionPool.<ConnectToTcpHostAsync>d__54.MoveNext() + 0x6c4
                         --- End of inner exception stack trace ---
                         at System.Net.Http.HttpConnectionPool.<ConnectToTcpHostAsync>d__54.MoveNext() + 0x728
                      --- End of stack trace from previous location ---
                         at System.Net.Http.HttpConnectionPool.<ConnectAsync>d__53.MoveNext() + 0x40c
                      --- End of stack trace from previous location ---
                         at System.Net.Http.HttpConnectionPool.<CreateHttp11ConnectionAsync>d__81.MoveNext() + 0x267
                      --- End of stack trace from previous location ---
                         at System.Net.Http.HttpConnectionPool.<InjectNewHttp11ConnectionAsync>d__80.MoveNext() + 0x2ca
                      --- End of stack trace from previous location ---
                         at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.<WaitWithCancellationAsync>d__1.MoveNext() + 0xf9
                      --- End of stack trace from previous location ---
                         at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__52.MoveNext() + 0x2f9
                      --- End of stack trace from previous location ---
                         at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x1d1
                      --- End of stack trace from previous location ---
                         at System.Net.Http.DecompressionHandler.<SendAsync>d__16.MoveNext() + 0x2db
                      --- End of stack trace from previous location ---
                         at System.Net.Http.SocketsHttpHandler.<<SendAsync>g__CreateHandlerAndSendAsync|118_0>d.MoveNext() + 0x10e
                      --- End of stack trace from previous location ---
                         at System.Net.Http.HttpClient.<GetStringAsyncCore>d__41.MoveNext() + 0x6de
                      --- End of stack trace from previous location ---
                         at UniGetUI.Core.IconEngine.IconDatabase.<LoadIconAndScreenshotsDatabaseAsync>d__8.MoveNext() + 0x286
[13/11/2026 17:36:37] Failed to load icon and screenshot database
[13/11/2026 17:36:37] System.IO.FileNotFoundException: Could not find file 'C:\Users\******\AppData\Local\UniGetUI\CachedMetadata\Icon Database.json'.
                      File name: 'C:\Users\******\AppData\Local\UniGetUI\CachedMetadata\Icon Database.json'
                         at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions) + 0x17e
                         at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x44
                         at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x50
                         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x6c
                         at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64) + 0x81
                         at System.IO.File.AsyncStreamReader(String, Encoding) + 0x58
                         at System.IO.File.<InternalReadAllTextAsync>d__94.MoveNext() + 0x41
                      --- End of stack trace from previous location ---
                         at UniGetUI.Core.IconEngine.IconDatabase.<LoadFromCacheAsync>d__12.MoveNext() + 0x60
[13/11/2026 17:36:38] Found 0 available updates from Winget

Package Managers Logs

Manager .NET Tool with version:
11.0.100

——————————————————————————————————————————

Logged subprocess-based task on manager .NET Tool. Task type is ListSources
Subprocess executable: "C:\Program Files\dotnet\dotnet.exe"
Command-line arguments: "nuget list source --format Detailed"
Process start time: 13/11/2026 17:36:26
Process end time:   13/11/2026 17:36:26

-- Process STDOUT
  Registered Sources:
    1.  nuget.org [Disabled]
        https://api.nuget.org/v3/index.json
    2.  Local [Enabled]
        C:\Docs\Packages
    3.  Artifactory [Enabled]
        https://artifactory.internal:8443/artifactory/api/nuget/nuget
    4.  Microsoft Visual Studio Offline Packages [Enabled]
        C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged subprocess-based task on manager .NET Tool. Task type is ListSources
Subprocess executable: "C:\Program Files\dotnet\dotnet.exe"
Command-line arguments: "nuget config paths"
Process start time: 13/11/2026 17:36:26
Process end time:   13/11/2026 17:36:26

-- Process STDOUT
  C:\Users\******\AppData\Roaming\NuGet\NuGet.Config
  C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged subprocess-based task on manager .NET Tool. Task type is ListInstalledPackages
Subprocess executable: "C:\Program Files\dotnet\dotnet.exe"
Command-line arguments: "tool  list"
Process start time: 13/11/2026 17:36:26
Process end time:   13/11/2026 17:36:26

-- Process STDOUT
  Package Id      Version      Commands      Manifest
  ---------------------------------------------------

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged subprocess-based task on manager .NET Tool. Task type is ListInstalledPackages
Subprocess executable: "C:\Program Files\dotnet\dotnet.exe"
Command-line arguments: "tool  list --global"
Process start time: 13/11/2026 17:36:26
Process end time:   13/11/2026 17:36:26

-- Process STDOUT
  Package Id                     Version                     Commands      
  -------------------------------------------------------------------------
  xxx-dotnet-nk                  3.1.0                       nk            
  xxx-dotnet-xxxxxx-toolkit      1.3.1-pre20261113-0831      xxxxxx-toolkit
  xxx.imageserver                0.3.0                       xxximageserver

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager .NET Tool. Task type is ListUpdates
Process start time: 13/11/2026 17:36:26
Process end time:   13/11/2026 17:36:29

-- Task information
  GetUpdates() on source Artifactory returned no update although newer versions exist, so each package is looked up by id instead

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager .NET Tool. Task type is ListInstalledPackages
Subprocess executable: "C:\Program Files\dotnet\dotnet.exe"
Command-line arguments: "tool  list"
Process start time: 13/11/2026 17:36:26
Process end time:   13/11/2026 17:36:27

-- Process STDOUT
  Package Id      Version      Commands      Manifest
  ---------------------------------------------------

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged subprocess-based task on manager .NET Tool. Task type is ListInstalledPackages
Subprocess executable: "C:\Program Files\dotnet\dotnet.exe"
Command-line arguments: "tool  list --global"
Process start time: 13/11/2026 17:36:27
Process end time:   13/11/2026 17:36:27

-- Process STDOUT
  Package Id                     Version                     Commands      
  -------------------------------------------------------------------------
  xxx-dotnet-nk                  3.1.0                       nk            
  xxx-dotnet-xxxxxx-toolkit      1.3.1-pre20261113-0831      xxxxxx-toolkit
  xxx.imageserver                0.3.0                       xxximageserver

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information

No response

Screenshots and videos

No response

Activity

  1. GabrielDuf commented on Nov 18, 2026

    @GabrielDuf
    Contributor

    Hi Otiel,
    the logs showed UniGetUI querying your Artifactory without being able to read any version from the responses, but I couldn't reproduce your exact problem on my side.
    i've made some improvement in #5796 that should fix it. Could you test it once the next release is out?

    In the meantime, the output of this would help confirm it covers your server :

    curl -u <user>:<token> "https://artifactory.internal:8443/artifactory/api/nuget/nuget/FindPackagesById()?id='xxx-dotnet-nk'&$filter=IsLatestVersion"
    
  2. Otiel commented on Nov 18, 2026

    @Otiel
    Author

    Thanks Gabriel Dufresne (@GabrielDuf), I'll check asap.

    But I'm curious of your implementation. You're not relying on dotnet tool CLI to query updates?

    Does that mean that it should work with Artifactory for instance, but not any source supported by the dotnet tool CLI, such as a directory on disk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdotnet-toolpriority: mediumReal problem or valuable request with a workaround or limited reach

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions