Windows 8 Simulator Command Line Interface

I know that I VS2012can run a Windows simulator directly from the editor.
What I want / need is to "tell the simulator" to run a specific application. So, let's say I have a previously compiled (Metro) application, it could be C # or HTML, and I want to say Simulator to launch and run my specific application. Is it possible?

Let's say I'm also on Windows 7, and I want to try it. I know that I can not do this in the Win7 window, so I thought that I would connect to the Windows8 virtual machine via Remote Destop and run the simulator there to see how my application worked or, as mentioned earlier, to run the simulator with my application.

So is everything possible? How should I do it? Can anyone think of a better idea for this? Tell powershell to send my application to a Win8 machine?

+5
source share
1 answer

You can find the simulator executable ...

C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Simulator\11.0

However, looking at Windows.Simulator.exe using ILSpy, it seems that the only start command he is looking for is / Minimized. If you select OnStartup, it contains the code ...

if (App.ParseStartAsMinimized(e.Args))
{
    window.WindowState = WindowState.Minimized;
}

This is the only thing I could find. I also did not find the place where he was trying to access his configuration file. However, it refers to System.Configuration, so additional detective work may be required.

+4
source

All Articles