单击图像文件时,不会显示 Visual Studio 2019 图像编辑器

问题描述

installed the 'Image and 3D model editors' component,但是当我从我的 Xamarin Forms 解决方案中单击一个 .png(图标)文件时,我收到了这个弹出错误

没有可用的编辑器 'C:\Users\...\MySolution\MyProject.Android\Resources\mipmap-xxxhdpi\launcher_foreground.png'。

确保已安装文件类型 (.png) 的应用程序。

我是否还必须在某处启用该组件?我在这里错过了什么?

编辑:如果我右键单击图像并“打开方式...”,则会得到以下选项:

enter image description here

一个认)选项会给我这个:

enter image description here

解决方法

尝试右键单击您的图像文件,然后选择打开方式... -> 图形设计师

然后您将使用图像编辑器打开图像。