Merge pull request #414 from NextTurn/mmi

Disable MMI
pull/420/head v2.6.1
Oleg Nenashev 2020-02-18 06:34:45 +01:00 committed by GitHub
commit 24d7ef1d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 -->