Disable MMI

pull/414/head
NextTurn 2020-02-18 00:00:00 +08:00
parent 8025a8e0b1
commit d97c72e48f
No known key found for this signature in database
GPG Key ID: 17A0D50ADDE1A0C4
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<!-- https://docs.microsoft.com/windows/win32/wmisdk/common-information-model -->
<DefineConstants>$(DefineConstants);FEATURE_CIM</DefineConstants>
<!-- https://github.com/kohsuke/winsw/issues/411 -->
<!-- <DefineConstants>$(DefineConstants);FEATURE_CIM</DefineConstants> -->
</PropertyGroup>
</Project>

View File

@ -14,8 +14,10 @@
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<PackageReference Include="Microsoft.Management.Infrastructure" Version="2.0.0" />
<!-- https://github.com/kohsuke/winsw/issues/411 -->
<!-- <PackageReference Include="Microsoft.Management.Infrastructure" Version="2.0.0" /> -->
<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0" />
<PackageReference Include="System.Management" Version="4.7.0" />
</ItemGroup>
<!-- error NU1605: Detected package downgrade: log4net 2.0.8 -->