开发人员技术 | .NET | .NET 运行时
			
			
		
				.NET:基于 .NET 软件框架的 Microsoft 技术。 运行时:运行未编译为机器语言的应用所需的环境。
			
		I use ManagementObject which is in System.Management.dll(4.6.0) in a class library
The class libray 's TargetFramework is netstandard2.0.
Then I reference the class library in a service whick is based on BackgroundService,
when I run the service , there is an error :
System.Management currently is only supported for Windows desktop applications.
why ?what should i do ?