Jaime Rodriguez On Windows Phone, Windows Presentation Foundation, Silverlight and Windows 7
Monday’s blog post on running under screen lock generated a couple of questions around media not playing when medialibrary is locked ( and Zune locking Media Library). So, today, I remind you about a recently announced tool that shipped with the Windows Phone Developer Tools October Update. The tool is called Windows Phone Connect Tool ( internally we know it as either WPDTConnect, or WPConnect, the latter is the final name of the exe as it made it out externally). Full instructions on running and troubleshooting WPConnect are here. My personalized version is below.
Requirements:
To run WPConnect: You simply need to run the WPConnect.exe. By default it will be installed at %ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\ or at %ProgramFiles(x86)%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect. The instructions on MSDN talk about opening a command prompt and navigating to that directory; that is Microsoft internal instructions. For the rest of the world that does not use DOS and command prompt as much as we do inside , you can do any of these and it will work equally well.
The really important stuff is to:
The results: What you will get is ability to debug applications that play Media on the phone without media library getting locked. You can also debug applications that interact with MediaLibrary.
A couple of FAQs and or known issues:
That should be all you need. Read the full instructions for more troubleshooting tips. Hope that helps.
Happy Windows Phone coding!