Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-cli commands Clarity needed for target options #322

Open
DevTKSS opened this issue Jan 6, 2025 · 5 comments
Open

-cli commands Clarity needed for target options #322

DevTKSS opened this issue Jan 6, 2025 · 5 comments

Comments

@DevTKSS
Copy link
Contributor

DevTKSS commented Jan 6, 2025

I would like to use uno in a restricted environment in the future and would still like to be able to use desktop target beside windows target. But it would not be allowed in that environment, to do wsl or similar setup.
In the -targets list and the cli commands available for uno.check there is no information provided to wsl

Please add this

Edit for clarity:

Image
marked the Targets that COULD be involved in the solution, but there is more clarity needed.

In an all targets setup we can choose from e.g. Windows Target, Desktop Target, IOS , Mac and so on.
The listed ones there do not providing the answer what to choose as command when it has to be only Windows and Desktop, but in a business environment where the IT maybe not allowes to install WSL or Hyper-V which is checked up and installed by Uno.Check by default, it's required to know what would enable this, or if its not possible, to use Desktop Target for example without this, please tell this clearly.
If it is possible, please tell about the correct things to choose.

in my opinion, target UWP is most likly outdated and only used for the uno template .Net 6 UPW while its recommended to use the Uno App template.
The SkiaWPF target next point, do not enable me to suggest which case this would be choosen, like: Is this Desktop target or is this also one of the not primary recommended templates?
Win32 Target might be Windows, BUT what if the target would be Windows + AnyCPU, or x64, which would not be 32 in my knowledge.

hope this made my point some clearer, so anyone could maybe tell about the solution?

@jeromelaban
Copy link
Member

Thanks for the question.

I do not understand the requirement. What do you mean by restricted environment?

@jeromelaban
Copy link
Member

I'm not entirely sure of the scenario, but if you only want to skip certain parts that would fail, you can use --skip parameter.

@DevTKSS
Copy link
Contributor Author

DevTKSS commented Jan 11, 2025

So if defining targets to be only desktop and windows that would be... None of them listed there explicitly and second, if you tell using --skip i should write --skip wsl --skip hyper-v --skip maui or how would that be reached?

@DevTKSS
Copy link
Contributor Author

DevTKSS commented Jan 22, 2025

Would lookup the repo to see possibilitys but I did not find the correct file/line where this would be able to see...

@DevTKSS DevTKSS changed the title -cli commands Add information about wsl for restricted environment setup -cli commands Clarity needed for target options Jan 26, 2025
@DevTKSS
Copy link
Contributor Author

DevTKSS commented Jan 26, 2025

Edited the initial request, so maybe someone can better understand what I would like to know and to be added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants