uno.check icon indicating copy to clipboard operation
uno.check copied to clipboard

Uno-Check warning message

Open Suriman opened this issue 8 months ago • 4 comments

Hi,

When opening certain solutions in VS 17.13.3, this message appears:

Image

If we click Fix and enter the credentials of an administrator user, uno-check runs without any errors.

However, this message appears continuously and indefinitely in the Outlook window:

Image

Regards

Suriman avatar Mar 19 '25 09:03 Suriman

Thanks for the report. Could you set the logging level to diagnostics, restart VS and open your solution, then provide the file log for the execution of unocheck?

Image

As for the other messages, does your solution build fully? This generally means that nuget did not restore the packages fully.

jeromelaban avatar Mar 19 '25 16:03 jeromelaban

What is the procedure to get that log besides putting the diagnostic in Visual Studio?

ADD-Eugenio-Lopez avatar Mar 20 '25 16:03 ADD-Eugenio-Lopez

@jeromelaban I ran into a similar issue yesterday, and when "fixing it," Uno.check only found a new template and a new SDK. After installing the new template and SDK, the warning message from Visual Studio was removed.

ajpinedam avatar Mar 29 '25 16:03 ajpinedam

@ADD-Eugenio-Lopez there's a file logged with the output of the uno-check tool that is run as part of VS, which should be in the temp folder:

[VERBOSE] Uno.Check output successfully written to: C:\Users\jlaban\AppData\Local\Temp\uno-check-e222138a-2d83-44a6-8de1-025ffbf8a729.txt

jeromelaban avatar Mar 31 '25 14:03 jeromelaban

@jeromelaban, We can't find this log on our system. Do we need to run uno-check with a specific parameter?. Thanks!

Suriman avatar Mar 31 '25 17:03 Suriman

@Suriman this log is shown in the Uno Platform output window when setting the msbuild log level to diagnostics:

Image

jeromelaban avatar Apr 01 '25 11:04 jeromelaban

@jeromelaban, here it is:

uno-check-55614cf7-3c7a-44a4-b92f-0e39445088c1.txt

Suriman avatar Apr 04 '25 14:04 Suriman

@Suriman thanks. It seems that the android emulator is not created in your environment. Can you also provide the output of the fix when uno-check is run?

jeromelaban avatar Apr 06 '25 01:04 jeromelaban

@jeromelaban @dr1rrb could you add this to your sub-issue list of the devServer epic one? https://github.com/unoplatform/uno.check/issues/355 I think this is related to the DevServer because switching to Detailed output, I am getting this as relationship:

[VERBOSE] OnSolutionOpenedAsync
[VERBOSE] Using net8.0, net9.0 TFMs to start the Uno.Check.
[VERBOSE] Verifying Uno.Check installation.
[VERBOSE] Uno.Check is installed.
[VERBOSE] Starting Uno.Check with "--tfm net8.0 --tfm net9.0"
[VERBOSE] Uno.Check output successfully written to: C:\Users\Sonja\AppData\Local\Temp\uno-check-cfd4d1d9-2ca2-4799-b723-b87ffd03da4b.txt
[INFO] Uno-Check hasn't detected any errors.
[INFO] Parsed the Uno.Sdk version from the manifest. The latest version is 6.0.96.
[INFO] Starting Uno.Sdk validation.
[INFO] User is targeting 6.0.146 Uno.Sdk.
[INFO] Parsed the Uno.Sdk version from the manifest. The latest version is 6.0.96.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[VERBOSE] StartDevServerAsync: Waiting for current restore operation
[VERBOSE] Enumerating installed packages
[VERBOSE] Got 129 packages from the solution
[VERBOSE] The project does not contain the Uno.WinUI.DevServer nor Uno.UI.DevServer package.
[ERROR] Failed to retrieve the solution's loaded NuGet packages. Make sure a full NuGet restore has completed properly and reload the solution.
[VERBOSE] Stopping package enumeration after timeout

using a Library Project with no UI TFM specifyed, global.json version at this time is the 6.0.146

Image Image

this Verbose output are moving at some point (longer time) to ERROR which we can see above... I dont think that we need the DevServer to check ~100 times for this. maybe it could check if we might not have a UI target or if its a Library OutputType?

DevTKSS avatar Jul 22 '25 21:07 DevTKSS