用vs2022 最新版本17.14.30,无论是core3.1,还是net5\net6\net8等,程序运行时都都会报错EventLog access is not supported on this platform, 建议移除对EventLog的支持,因为microsoft也不支持。
用vs2022 最新版本17.14.30,无论是core3.1,还是net5\net6\net8等,程序运行时都都会报错EventLog access is not supported on this platform,
建议移除对EventLog的支持,因为microsoft也不支持。