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

[uno-check] [WinSdk][Desktop][Banner][CLI][VS2022] "Found problems banner" --target flags not recognized

Open DevTKSS opened this issue 9 months ago • 16 comments

Current Behaviour

  1. uno-check --target desktop and uno-check --target winsdk flags are not recognized and causing uno-check CLI to run !NO! checks

  2. uno-check --tfm net9.0-desktop instead does work as expected but only in the CLI, not in VS2022 which is were I did get this command alternative from. This command automatically executed in VS2022 through the Uno Extension, does instead run the full checks, as it seems to extract the automatically used flags to --tfm net9.0 --tfm desktop for executing uno-check, that does result in running all checks as if we would have used instead the <TargetFrameworks>net9.0-desktop;net9.0</TargetFrameworks> definition in our csproj instead.

Expected Behaviour

  1. Using the desktop or winsdk flags for --target should validate correctly
  2. the Extension should not extract/split the TargetFramework and instead use the given name our csproj does define for it, and by that only run the checks we get running this in the Terminal

Additional Information

the loggs to the described Behavior has been added in the comments

DevTKSS avatar May 29 '25 16:05 DevTKSS