加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c# – Visual Studio 2015社区:PNG编辑器错误 – “HRESULT异常

发布时间:2020-12-15 08:33:38 所属栏目:百科 来源:网络整理
导读:我的Visual Studio现在已经遇到了一段时间的错误.每次我尝试在Visual Studio中编辑PNG图像文件时,当我单击大多数按钮时,会弹出一条错误消息. Exception from HRESULT: 0x80020101 受影响的按钮(和键)列表如下: 删除键 高级菜单及其下的所有内容 A,R,G和B通
我的Visual Studio现在已经遇到了一段时间的错误.每次我尝试在Visual Studio中编辑PNG图像文件时,当我单击大多数按钮时,会弹出一条错误消息.
Exception from HRESULT: 0x80020101

受影响的按钮(和键)列表如下:

>删除键
>高级菜单及其下的所有内容
> A,R,G和B通道按钮
>网格按钮
>在窗口按钮中调整图像
>在窗口按钮中调整图像宽度
>缩放按钮
>平移按钮

任何帮助都会很棒.
谢谢.

解决方法

这是VS Update1之后的已知行为,每当我尝试编辑.png时都会激怒我.这真烦人! Microsoft团队正在努力.
Link to original answer on msdn.

我已经复制了它(如果以后将被删除的情况)

The Visual Studio Graphics Tools team has identified a bug that causes several of the graphical editors to either not open or fail to operate as designed after installing Update 1. Affected files include scenes (.fbx),shaders (.dgsl),and some image types (.png). The typical erroneous behavior seen is either XML text being shown rather than a graphical editor or receiving a dialog box indicating that an 0x80020101 error occurred. We have a fix in hand and are working to make it generally available before the end of January 2016.

To work around the problem until we release the fix,please consider one of the following workarounds.

  1. Head on over to 07001. This folder contains a zip file called VsGraphicsScripts.zip. The zip itself contains a folder called “Scripts”. Extract the contents of the zip file somewhere convenient for you. After doing so replace the Scripts folder installed by Visual Studio at C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDEExtensionsMicrosoftVsGraphicsAssetsScripts with the new Scripts folder you just extracted.
  2. Make use of the 07002 to do the editing you need to do on the affected files
  3. Uninstall Update 1

We sincerely apologize for the trouble,

Jim Griesmer

Visual Studio Graphics Tools

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读