Hi,
I am building a VS extension which needs to extract information from the current active project in the solution.
Problem arises when I need to get the information for an "AppContainer" project - project for a Windows Store app.
The information I need is:
- Determine if this is actually an AppContainer, or rather an ordinary project (executable).
- Extract the AppUserModelID which used to run the application. There must be a way, as VS is using the AppUserModelID (after Deployment) to run/debug the application.
The closest I've got, is the IAppxManifestDesignerService. By calling OpenAppxManifestDocument, I may determine if this is actually an "AppContainer" or not - if the call succeeds or not. But I am not sure if this is the right way, or maybe even the safest way, as there is a "AppContainer" property in the project file, which indicates what is needed. So,how may I query this property?
And this still does not solve the biggest issue:
How do I get the AppUserModelID?
Every help is welcome!