Freigeben über


Quick tip: using the WP Connect utility instead of Zune client (Windows Phone 7)

Deploying and debugging your Windows Phone 7 applications on a device requires Zune client software to be running. However, Zune client software blocks access to your local media database making it impossible to debug anything using media APIs. This may include photo choosers and launchers, XNA and Silverlight playback of media elements.

The solution is simple, with the newly released Windows Phone Developer Tools October 2010 Update, a new tool WPConnect is provided to circumvent this issue. Download and install the tools update. Once done you can connect your device, close Zune software and launch WPConnect.exe from the installation directory. Normally this is “%ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect”.
More details on MSDN: https://msdn.microsoft.com/en-us/library/gg180729(v=VS.92).aspx

Note: this applies to developers using an unlocked Windows Phone device. Unlocking your phone requires registration in the AppHub.

 

Quick tip posts are short, useful posts pointing to content and tricks that might otherwise go lost in a typical 140 chars on Twitterverse.

Comments

  • Anonymous
    February 20, 2011
    So, to run the media files, we need windows phone tools? even after deployment on production ?

  • Anonymous
    February 20, 2011
    I assume with "deployment on production" you mean available on the marketplace. Applicatinos that are published to the marketplace do not need devtools but can be installed directly by accessing the markeplace hub in on the phone.

  • Anonymous
    February 20, 2011
    No, I mean, I have developed an application, which use mediaelement control and sharepoint. I am able to run my app using emulator, it works fine even the video also runs fine. When I run via windows phone 7 device. The video was not running. So somebody(from msdn forum) suggested to install latest version of phone tools which brings wpconnect.exe. I have installed and working fine. Now, If I want to this application by connecting to some other laptop in the same network. video is not working fine. I have installed zune too. In this case I have to install windows phone tools in another laptop also?

  • Anonymous
    February 20, 2011
    Hi Venkatesh, Before the app publication to the marketplace you do need WPConnect and devtools to deploy any test versions to the device. Once the app is installed on the device (and you have a connection) it should work fine without connecting the device to the computer anymore. If you want to run it while connected to the computer you do need WP Connect utility on that computer.

  • Anonymous
    February 21, 2011
    Ok, I have installed latest version patch and got WP connect utility and the application running perfectly fine on device by connecting my laptop. If I want to demo using other laptop, do I need to install visual studio and phone tools on that laptop? Regards, Venkatesh.

  • Anonymous
    February 21, 2011
    Just to be clear: you don't need to connect your phone to the laptop once the application has been deployed on the phone. Simply run the app directly from within the phone. Maybe it's not working fine when you're not connected to the laptop because of a network issue: the phone will use your computer's internet access so if your WIFI or 3G settings don't work correctly this might be the reason why it's working when device is connected to the laptop.