这是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.
- 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.
- Make use of the 07002 to do the editing you need to do on the affected files
- Uninstall Update 1
We sincerely apologize for the trouble,
Jim Griesmer
Visual Studio Graphics Tools