win10 Enable developer Mode

简介:

经过漫长的安装过程

win10终于装上了vs2015 rc…

 

写个小程序试试

结果提示:

image

 

根据提示打开 设置--更新--for developer

据说应该有这么个界面:

image

 

但是这个界面根本出不来

直接闪退的说…

 

翻 MSDN 终于翻出了解决方法:

https://msdn.microsoft.com/library/windows/apps/xaml/dn706236.aspx

三种方法,任选其一

1,组策略:

  • Open a cmd prompt with administrator privileges.
  • Run Gpedit.msc.
  • Go to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > App Package Deployment
  • Edit the policies to enable the following:
  • Allow all trusted apps to install (Enables your device for sideloading apps)
  • Allows development of Windows Store apps and installing them from an integrated development environment (IDE) (Enables your device for development from Visual Studio)
  • Reboot your machine.

 

2,注册表:

  • Open a cmd prompt with administrator privileges.
  • Run regedit.
  • Set the value of this DWORD to 1: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowAllTrustedApps
  • Set the value of this DWORD to 1: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowDevelopmentWithoutDevLicense

 

3,PowerShell

  • Run Windows PowerShell with administrator privileges.
  • Run the following command: PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
  • Run this command too: PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"

本文转自 sun8134 博客园博客,原文链接:http://www.cnblogs.com/sun8134/p/4521228.html    ,如需转载请自行联系原作者
相关文章
|
9月前
用IAR打开STM8时,出现“Unable to create configuration 'Debug' using tool chain ‘STM8’
用IAR打开STM8时,出现“Unable to create configuration 'Debug' using tool chain ‘STM8’
216 0
|
7月前
|
Apache Windows
(MAC) Apache You don't have permission to access / on this server.
(MAC) Apache You don't have permission to access / on this server.
44 0
|
10月前
Qt5Error:msvc-version.conf loaded but QMAKE_MSC_VER ins‘t set
Qt5Error:msvc-version.conf loaded but QMAKE_MSC_VER ins‘t set
215 0
|
Linux
登录linux黑屏the configuration defaults for gnome power manager have not been installed correctly无法进入
登录linux黑屏the configuration defaults for gnome power manager have not been installed correctly无法进入
331 0
登录linux黑屏the configuration defaults for gnome power manager have not been installed correctly无法进入
另一种无法enable ABAP source code tool的原因
另一种无法enable ABAP source code tool的原因
68 0