日期:2014-05-17  浏览次数:20963 次

新人求解C#控制台程序一调试就会出现两行提示
warning: FT_OpenType_Validate is disabled. Replace FreeType2 with otvalid-enabled version.
warning: FT_OpenType_Validate is disabled. Replace FreeType2 with otvalid-enabled version.

关掉项目-属性-调试里的启动visual studio承载进程  就不会出现这两行提示
源代码:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _01第一个控制台程序
{
    class Program
    {
        static void Main(string[] args)
        {

            Console.WriteLine("Holle,World");
            Console.ReadKey();

            
        }
    }
}
调试 承载进程

------解决方案--------------------
系统感染了流氓软件,篡改了某些设置导致的问题。和程序没有关系。你的程序没有问题,除了把hello拼写错了。
------解决方案--------------------
结贴给分。代码没问题
------解决方案--------------------
重装VS 如果还不行重装系统
------解决方案--------------------
FT_OpenType_Validate被禁用。更换FreeType2 otvalid功能的版本

跟vs无关 跟你系统里装的其他东西有关
------解决方案--------------------
hello 拼字错了。。。。。
好冷啊。。。