Dotnet core Console调用WIndows.Forms的MessageBox提示

最近想把ET打表工具的报错提示直接调用win系统弹窗,好让策划明显的知道表格哪里填错数据,弹窗需要调用System.Windows.Forms库。操作如下: 需要在 .csproj 文件中添加: <UseWindowsForms>true</UseWindowsForms> 须将目标平台设置为 Wi
posted @ 2024-06-28 20:06  Flamesky  阅读(14)  评论(0编辑  收藏  举报