如何在Visual Studio 2015中修复无法识别的Guid格式 [英] How to Fix Unrecognized Guid format in Visual Studio 2015

查看:547
本文介绍了如何在Visual Studio 2015中修复无法识别的Guid格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Windows 10计算机(从Windows 7升级)上的Visual Studio 2015中打开我的项目时,出现无法识别的Guid格式"错误.

I'm getting an "Unrecognized Guid format" error when I try to open my project in Visual Studio 2015 on a Windows 10 machine (upgraded from Windows 7).

这并非总是发生在我身上.我最初是按照以下ananser中的步骤将VS studio以管理员身份打开的(因为当时我的项目需要它):

This did not always occur for me. I originally made VS studio open as administrator (because my project needed it at the time) by following the steps in the anwser here: Can you force Visual Studio to always run as an Administrator in Windows 8? I then decided I wanted to switch back to not having it open as admin. To try and switch back I again ran the compatibility troubleshooter, this time I selected "try recommended settings". After doing this I am now getting the Guid error every time I open my project and I can no longer run it. I even get it if I open VS as admin like I did before.

我什至尝试卸载Visual Studio并重新安装它,但这也不起作用.

I even tried uninstalling Visual Studio and reinstalling it but that did not work either.

推荐答案

我猜您曾经以管理员身份运行Visual Studio.这为我做到了.答案是删除注册表中的兼容性条目.

I am guessing you used to run Visual Studio as Administrator. This did it for me. The answer is to delete the compatibility entry in the registry.

  1. 在键盘上键入Windows + R以打开运行"对话框
  2. 键入regedit,然后按Enter键
  3. 浏览到HKEY_CURRENT_USER \ Software \ Microsoft \ Windows NT \ CurrentVersion \ AppCompatFlags \ Layers
  4. 删除Visual Studio条目

这篇关于如何在Visual Studio 2015中修复无法识别的Guid格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆