-
Notifications
You must be signed in to change notification settings - Fork 331
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
desktop:ExecutionAlias
declared in Package.appxmanifest
not working on Windows Server 2019
#4905
Comments
desktop:ExecutionAlias
declared in Package.appxmanifest
not effective on Windows Server 2019desktop:ExecutionAlias
declared in Package.appxmanifest
not working on Windows Server 2019
@brialmsft @kanismohammed @sshilov7 is this a code or doc bug? Server 2019 is 17763 aka RS5 (though not Desktop SKU) and the docs for uap3:ExecutionAlias say Minimum OS Version = Windows 10 version 1607 (Build 14393) with no mention of caveat or restriction outside Desktop.
Different minimum OS requirements and some functionality. But agreed, the docs are a little confusing and in need of love. I've passed along word to see this addressed.
You can spot differences comparing the different pages (though even that seems inconsistently incomplete):
The evolutionary summary seems to be...
|
@DrusTheAxe That is 6 my bro, and is way too epic for any developers to handle just for registering an alias. It might well deserve its own doc for that. 😂 |
Kevin, menace Anis. |
Snicker. And doh! Fixed the typo thanks It's actually not that complicated...in theory We don't break older systems with newer bits - additive, yes, more relaxed, yes (e.g. required->optional) but not more restrictive. Thus uap5>uap3, uap8>uap5, etc. The In this particular case the feature's evolution, er, meandered :P a little. Coupled with the missing desktop4+10 pages can make it a little hard to follow. Apologies, we'll try to do better in the future. If all you want is to define an alias it's trivial -- use Thanks for the discussion/feedback. Much appreciated, as always. --DrusTheAxe * P.S. We've been shifting away from |
Describe the bug
A few users of my app reported that they cannot launch my app on their Windows Server. After some digging, I found on normal Windows 10/11, if the app declares an
desktop:ExecutionAlias
, it will create an entry in%localappdata%\Microsoft\WindowsApps\
. But the folder is empty on Windows Server (2019 17763, to be specific).I am not sure whether this issue happens to all Windows Server version. But on 17763, I write a demo to test that and it's 100% reproducible.
Steps to reproduce the bug
Application
node inPackage.appxmanifest
winuiBugTest.exe
, and it will report the file is not found.Expected behavior
The app should run
Screenshots
NuGet package version
Windows App SDK 1.6.3: 1.6.241114003
Packaging type
Packaged (MSIX)
Windows version
No response
IDE
Visual Studio 2022
Additional context
Using
uap5
also does not work. And I don't even know what are the differencesrepro
The text was updated successfully, but these errors were encountered: