我百度了好久也没有看到解决方法,创建项目时框架选用的是 .NET Core 3.1
附上错误提示:
System.TypeInitializationException:“The type initializer for 'MySql.Data.MySqlClient.MySqlConnectAttrs' threw an exception.”
内部异常
FileNotFoundException: Could not load file or assembly 'System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. 系统找不到指定的文件。
app.confing