|
2 | 2 | <Import Project="..\..\..\package.props" />
|
3 | 3 |
|
4 | 4 | <PropertyGroup>
|
5 |
| - <TargetFrameworks>net45;net46;net47;netstandard2.0;netcoreapp2.0</TargetFrameworks> |
| 5 | + <TargetFrameworks>net45;net46;net47;net472;netstandard2.0;netcoreapp2.0;net6.0-windows;net7.0-windows</TargetFrameworks> |
6 | 6 |
|
7 | 7 | <AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
|
8 | 8 | <FileVersion>$(Version).$(Revision)</FileVersion>
|
|
35 | 35 | <PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
|
36 | 36 | </ItemGroup>
|
37 | 37 |
|
38 |
| - <ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('netcoreapp'))"> |
| 38 | + <ItemGroup Condition="!$(TargetFramework.StartsWith('net4'))"> |
39 | 39 | <PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" />
|
40 | 40 | <PackageReference Include="System.Security.Permissions" Version="$(SystemSecurityPermissionsVersion)" />
|
41 | 41 | <PackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsVersion)" />
|
42 | 42 | </ItemGroup>
|
43 | 43 |
|
44 |
| - <ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))"> |
| 44 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net6')) OR $(TargetFramework.StartsWith('net7'))"> |
| 45 | + <PackageReference Include="System.Diagnostics.EventLog" Version="7.0.0" /> |
| 46 | + </ItemGroup> |
| 47 | + |
| 48 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net4'))"> |
45 | 49 | <Reference Include="System.Configuration" />
|
46 | 50 | <Reference Include="System.Configuration.Install" />
|
47 | 51 | <Reference Include="System.EnterpriseServices" />
|
|
111 | 115 | <Compile Remove="ExtraInformation\Helpers\*ContextUtils.cs" />
|
112 | 116 | <Compile Remove="ExtraInformation\ComPlusInformationProvider.cs" />
|
113 | 117 | </ItemGroup>
|
| 118 | + |
| 119 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net6')) OR $(TargetFramework.StartsWith('net7'))"> |
| 120 | + <Compile Remove="**\*Msmq*.cs" /> |
| 121 | + <Compile Remove="ExtraInformation\Helpers\*ContextUtils.cs" /> |
| 122 | + <Compile Remove="ExtraInformation\ComPlusInformationProvider.cs" /> |
| 123 | + </ItemGroup> |
114 | 124 |
|
115 |
| - <ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard')) AND !$(TargetFramework.StartsWith('netcoreapp'))"> |
| 125 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net4'))"> |
116 | 126 | <Compile Remove="System.Runtime.Remoting.Messaging\*.cs" />
|
117 | 127 | </ItemGroup>
|
118 | 128 |
|
|
0 commit comments