Monday, May 18, 2015

WP App - Enable developer mode in Windows 10 Tech Preview


Goal:
Use Visual Studio Community 2015 RC on Windows 10 Technical Preview to develop apps.

Problem:
When opening a project in Visual Studio 2015 RC I am told to enable developer mode, but this mode crashes the Settings Menu.

The message in Visual Studio:





In the Settings screen choose "Update & security"




Then click "For developers"



After a few seconds the Settings screen closes without a message...



Solution:
I used this page
http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/enable-developer-mode-for-windows-10/c85a90b0-056a-4e32-894e-d9e0dd2a54df and just wanted to share my steps.


To set the developer mode use this:

Open gpedit.msc



I get two errors about:
"
Resource '$(string.OneDriveSettingCategory)' referenced in attribute displayName could not be found


File C:\Windows\PolicyDefinitions\SkyDrive.admx, line 9, column 78
"


I just clicked [OK] and navigated to


Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> App Package Deployment


Set the " Allows development of Windows Store apps and installing them from an integrated development environment (IDE)" 

Set it to Enabled.



Now my project loads and compiles


GNZ