none
新建的ConsoleApplication输出时会有libpng warning: iCCP: Not recognizing known sRGB profile that has been edited RRS feed

  • 问题

  •         static void Main(string[] args)
            {
                string userID;
    
                Console.Write("请输入您的用户名:");
                userID=Console.ReadLine();
            }

    以上是Main的所有代码,基本没写代码

    控制台中会显示出好多行libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

    2015年12月1日 15:17

答案

  • 您好,

    根据您的错误信息,您的项目中包含一些PNG文件,在这些PNG文件中包含一些无效的profile信息。并且在你的项目属性中你勾选了 把警告当作错误(Treat Warning as Error)的选项。所以会弹出这些警告信息。您可以把这个警告当作错的选项勾掉,或者编辑你的PNG文件,删掉这些无效的profile信息。

    Best Regards,
    Li Wang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2015年12月2日 5:28