Visual Studio setup cannot run in compatibility mode 修复方法
最近配置windows phone环境,居然遇到了如下问题:
Visual Studio setup cannot run in compatibility mode.
For more information see the ‘Installing’ section in the Visual Studio readme at http://go.microsoft.com/fwlink/?LinkID=143397.
解决办法:
删除注册表中
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
我只删除了红色部分。