Closed gtflip closed 2 months ago
Which windows version are you using?
Do you have .NET SDK 6/7/8/9 installed?
Please try running dotnet tool install dotnet-tools-outdated
Hi, same problem for me. Windows 11.
C:> dotnet tool install dotnet-tools-outdated
Cannot find a manifest file. For a list of locations searched, specify the "-d" option before the tool name. If you intended to install a global tool, add '--global' to the command. If you would like to create a manifest, use 'dotnet new tool-manifest', usually in the repo root directory.
Which windows version are you using? Do you have .NET SDK 6/7/8/9 installed? Please try running
dotnet tool install dotnet-tools-outdated
As I included in the bug report, Windows 10 Pro Version 22H2 19045.4529 x64 :-)
I have .NET SDK 5.0.404 & 5.0.408 installed, no 6-9
Same output as @kentkravitz
C:\>dotnet tool install dotnet-tools-outdated
Cannot find a manifest file.
For a list of locations searched, specify the "-d" option before the tool name.
If you intended to install a global tool, add `--global` to the command.
If you would like to create a manifest, use `dotnet new tool-manifest`, usually in the repo root directory.
C:\>dotnet tool install dotnet-tools-outdated --global
You can invoke the tool using the following command: dotnet-tools-outdated
Tool 'dotnet-tools-outdated' (version '0.7.1') was successfully installed.`
Windows 10 Microsoft Windows [Version 10.0.19045.4529]
C:\>dotnet --list-runtimes
Microsoft.AspNetCore.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
the "--global" did the trick for me
hi everybody, the same issue happened for me - however I realized this happened after UniGet accidentally tried to reinstall the older "beta1" release (it was found as an "update" - now beta2 is found. Both are wrong, 3.1.0 is not in beta anymore - best is to right-click and "Skip version" on beta1 and beta2). So what I did to resolve is:
after that the error was gone.
For me the problem was that I did not have any .NET SDK installed, only .NET runtimes. At first I thought WHY would I install an outdated .NET (dotnet-tools-outdated), is that not insecure? But when I looked it up I found that this dotnet-tools-outdated is a tool to list which NuGet packages are outdated. Dotnet-tools-outdated itsself is a NuGet package. And to be able to install this I needed to install the .NET SDK.
This was not needed for the previous version.
I guess to make this work there are a couple of options:
This was not needed for the previous version.
It was, but WingetUI did not complain when it was not installed, it silently crashed.
- Not sure where NuGet is used. But maybe the user should be asked if he wants to check and update NuGet packages? If not then do not ask to install dotnet-tools-outdated. If yes, check and install ALL prerequisites.
You can disable the DotNet Tool package manager from the settings
I have a partial answer as I (just) discovered how to resolve the problem on my PC : I don't know why, but when I start my Windows session, explorer.exe (and so its child processes, like the start menu) doesn't have user variable environments loaded. So the PATH env var has just system env vars, no user env var.
To work around this, it's simple :
Normally, you won't see the message of .NET Tools Outdated and sources updates works correctly.
So, the issue comes from windows, not unigetui
The following steps help me to solve this problem:
.NET 8.0 SDK
via https://aka.ms/dotnet/downloaddotnet tool install dotnet-tools-outdated --global
(IgorKorkin) The following steps help me to solve this problem:
- Download and install .NET 8.0 SDK via https://aka.ms/dotnet/download
This resolved the issue for me as well-- it also needed to specifically be the SDK that was installed. Just the runtime didn't address the issue; so it might be tied to the fact that I had an old version of the SDK installed on my computer. (Specifically version 5 in my case.)
Yes, .NET SDK 6 or higher must be installed in order for UniGetUI to work
This issue was fixed on a previous commit
@marticliment : I have the same problem with version 3.1.1 on Windows 10 22h2
What happens if you run the proposed command on a command-prompt window?
@marticliment
error NU1202: Le package dotnet-tools-outdated 0.7.1 n'est pas compatible avec netcoreapp2.1 (.NETCoreApp,Version=v2.1) / any. Le package dotnet-tools-outdated 0.7.1 prend en charge :
error NU1202: - net60 (.NETFramework,Version=v6.0) / any
error NU1202: - net80 (.NETFramework,Version=v8.0) / any
Impossible de restaurer le package de l'outil.
Échec d'installation de l'outil 'dotnet-tools-outdated'. Causes possibles de cet échec :
* Vous essayez d'installer une préversion, mais vous n'avez pas utilisé l'option --version pour spécifier la version.
* Un package portant ce nom a été trouvé, mais il ne s'agit pas d'un outil .NET Core.
* Le flux NuGet exigé n'est pas accessible, peut-être en raison d'un problème de connexion Internet.
* Vous avez mal tapé le nom de l'outil.
Oh, you have a very old .NET sdk installed.
Either instal .NET SDK 6.0 or .NET SDK 8.0, or disable .NET from UniGetUI Settings
I have just installed .NET SDK 8.0 https://dotnet.microsoft.com/fr-fr/download/dotnet/thank-you/sdk-8.0.401-windows-x64-installer
I've restarted the order and it's fine
Please confirm these before moving forward
UniGetUI Version
3.1.0
Windows version, edition and architecture
Windows 10 Pro Version 22H2 19045.4529 x64
Describe your issue
When I start UniGetUI, it pops up this dialog:
I have clicked the button to install it, and then restarted the program (as the next popup suggests), but it keeps popping up that message.
When I click the "Install..." button, it opens a PowerShell window which has some text but closes too quickly to read any of it. When I searched for ".NET Tools Outdated" in the repository, I found the command-line which I tried in a PowerShell window:
Steps to reproduce the issue
No response
UniGetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
No response