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

Read only mode - should adhere to projects' target platforms

Open MartinZikmund opened this issue 9 months ago • 3 comments

Currently uno.checks shows warning for missing Android/iOS/etc. workloads even though the current project only targets desktop and WinUI

MartinZikmund avatar Mar 12 '25 12:03 MartinZikmund

This is not supposed to happen, can you provide repro steps?

jeromelaban avatar Mar 12 '25 18:03 jeromelaban

This was a client report, they have only desktop and WinAppSDK targets, but the banner was showing up either way, and when ran, the checks were executed for all targets including Android, etc.

MartinZikmund avatar Mar 26 '25 04:03 MartinZikmund

For this case, having the log for the run of uno-check in the banner, such as this:

[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

@kucint Are you please still able to reproduce this issue? I remember you were seeing uno-check trying to install missing Android components even though your project was only targeting Desktop and Windows, correct? Would you be able to provide the log please?

MartinZikmund avatar Apr 04 '25 09:04 MartinZikmund

@MartinZikmund same problem here, but only as you mentioned if the target is included in the app its popping up OR if the uno-check command is runned via regular terminal. Discussed and provided verbose logs in #367

DevTKSS avatar May 04 '25 11:05 DevTKSS

@MartinZikmund updated the #404 issue as it contains more loggs with information and the emulator issue I initially had can be better followed up in the #355 and has the workaround currently to create one. I think the problem causing this issue you described here to, does come from the behavior of uno extension in vs2022 does somehow extract the net9.0 from the windows or desktop target definition and THEN run uno-check.

DevTKSS avatar Jun 28 '25 14:06 DevTKSS