c# - Visual Studio 2015 社区 : PNG Editor Error - "Exception from HRESULT: 0x80020101"

标签 c# visual-studio visual-studio-2015 png image-editing

我的 Visual Studio 已经有一段时间遇到错误了。每次我尝试在 Visual Studio 中编辑 PNG 图像文件时,当我单击大多数按钮时,都会弹出一条错误消息。

Exception from HRESULT: 0x80020101

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

  1. 删除键
  2. 高级菜单及其下的所有内容
  3. A、R、G 和 B channel 按钮
  4. 网格按钮
  5. 使图像适合窗口按钮
  6. 在窗口按钮中调整图像宽度
  7. 缩放按钮
  8. 平移按钮

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

最佳答案

这是已知的行为在 VS Update1 之后 并且每次我尝试编辑 .png 时都会激怒我。这真的很烦人!微软团队正在努力。 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 this OneDrive folder. 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.0\Common7\IDE\Extensions\Microsoft\VsGraphics\Assets\Scripts with the new Scripts folder you just extracted.
  2. Make use of the Community Edition of Visual Studio 2013 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

关于c# - Visual Studio 2015 社区 : PNG Editor Error - "Exception from HRESULT: 0x80020101",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34669409/

相关文章:

c# - 具有许多值检查的对象c#

visual-studio-2015 - 发布Web项目时,为什么我的web.config文件中包含ProjectGuid?

c++ - 在 Visual Studio 2015 中,如何确保跨机器的 C++ 生成环境一致?

c++ - 延迟加载的 DLL - 我错过了什么?

c++ - 为什么原生 C++ 项目有 TargetFrameworkVersion?

winforms - 为什么这个 WinForms 窗口在拖动时呈现伪像?

c# - PHP的realpath相当于C#

c# - C# 中的数组声明语法是否有原因?

c# - 简单的 C# OOP 继承查询

visual-studio-2010 - 从 VS 中的解决方案快速搜索文件或类?