安装libgdiplus-devel yum install libgdiplus-devel 如果出现错误 No package libgdiplus-devel available. 原因可能是yum源不支持该安装包 更换yum源为 EPEL yum 源 rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 然后再安装即可 https://www.cnblogs.com/asd14828/p/1083714...
yum install glib2-devel cairo-devel git clone https://github.com/mono/libgdiplus cd libgdiplus ./autogen.sh make make install cd /usr/lib64/ ln -s /usr/local/lib/libgdiplus.so gdiplus.dll Getting Started Export Excel var newFile = @"newbook.core.xlsx"; using (var fs = new FileStream...