Developer, Former MVP, now at Microsoft - Best of 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
Enabling deployment of managed applications to the desktop rather than a device:This is a great productivity enhancement for application development, when you deploy often. Note: Applications that use device-specific apps will not run properly on the desktop, and controls will render as desktop controls.INSTRUCTIONS1. In Visual Studio select Tools/Options, and then select Device Tools/Devices from the tree. 2. In the top combo box, select the platform that you want to add desktop deployment to. You’ll need to do this for each platform you want to use. 3. Select one of the devices, (it doesn’t matter which one) and click the Save As… button. Save as “My Computer”. If you’ve already done this for a platform, you’ll need to save subsequent devices with slightly different names (like “My Computer2”) 4. Close VS and open your %USERPROFILE%\Local Settings\Application Data\Microsoft\CoreCon\1.0\conman_ds_platform.xsl file in a text editor. 5. Find the <DEVICE …> element corresponding to the device you created and add the node (i.e. search for “My Computer” to find the correct node.) <PROPERTY ID="IsDesktopDevice" Name="IsDesktopDevice">true</PROPERTY>Place it right after the first <PROPERTYCONTAINER> tag.6. Save conman_ds_platform.xsl and restart VS. Now when you deploy, you can select “My Computer” from the deploy dialog.