Scorpio
Scorpio

Reputation: 1144

Windows store apps deploy location

I created a Windows Store app using Visual Studio(2013). Right-clicked the project and chose "Deploy". Where was the app deployed? What I want to do is to be able to run that app from cmd, not from Visual Studio.

So the question is: where is the app deployed? Can I somehow change that location?

Upvotes: 0

Views: 220

Answers (1)

Tim
Tim

Reputation: 15237

Normally installed Windows Store apps are found here: %programfiles%\WindowsApps\IdentifierForYourApp. But when you deploy from Visual Studio (for the purposes of debugging and whatnot), Visual Studio just registers the app to run from within your build output folder.

But I don't think you can launch the program from a command line. Even if you try to just double-click the executable, you get an error "This application can only run in the context of an app container"

You can launch the app via the IApplicationActivationManager::ActivateApplication function in C++ code. There might be another way via managed code, but I'm not aware of it.

Upvotes: 1

Related Questions