經過漫長的安裝過程
win10終于裝上了vs2015 rc…
寫個小程式試試
結果提示:
<a href="http://images0.cnblogs.com/blog/55095/201505/220008267293046.png"></a>
根據提示打開 設定--更新--for developer
據說應該有這麼個界面:
<a href="http://images0.cnblogs.com/blog/55095/201505/220008278227246.png"></a>
但是這個界面根本出不來
直接閃退的說…
翻 MSDN 終于翻出了解決方法:
<a href="https://msdn.microsoft.com/library/windows/apps/xaml/dn706236.aspx">https://msdn.microsoft.com/library/windows/apps/xaml/dn706236.aspx</a>
三種方法,任選其一
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:
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,系統資料庫:
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"
<b></b>
<b>本文轉自 sun8134 部落格園部落格,原文連結:http://www.cnblogs.com/sun8134/p/4521228.html</b><b> ,如需轉載請自行聯系原作者</b>