예제 #1
0
        internal void Run()
        {
            WPDevice emulator = new DeviceRetriever().GetDevice(m_deviceType, m_xap.PlatformVersion);

            emulator.Connect();
            Guid appGUID = new Guid(m_xap.ProductId);

            if (emulator.IsApplicationInstalled(appGUID))
            {
                emulator.LaunchApplication(appGUID);
            }
            else
            {
                MessageBox.Show("Application was not found!", "Error");
            }
        }