|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 |
| - <PropertyGroup> |
3 |
| - <TargetFrameworks>net462;net8.0;net9.0</TargetFrameworks> |
4 |
| - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
5 |
| - <RootNamespace /> |
6 |
| - </PropertyGroup> |
7 |
| - |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFrameworks>net462;net8.0;net9.0</TargetFrameworks> |
| 4 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 5 | + <RootNamespace /> |
| 6 | + </PropertyGroup> |
| 7 | + |
| 8 | + <!-- References ====================================================== --> |
8 | 9 | <ItemGroup>
|
9 |
| - <Reference Include="System.Configuration" Condition="'$(TargetFramework)' == 'net462'" /> |
10 |
| - <Reference Include="System.Transactions" Condition="'$(TargetFramework)' == 'net462'" /> |
11 |
| - </ItemGroup> |
12 |
| - <ItemGroup> |
| 10 | + <!-- References that apply to all target frameworks --> |
13 | 11 | <PackageReference Include="Microsoft.Bcl.Cryptography" />
|
14 | 12 | <PackageReference Include="System.Buffers" />
|
15 | 13 | <PackageReference Include="System.Memory" />
|
16 |
| - <PackageReference Include="System.Data.Common" Condition="'$(TargetFramework)' == 'net462'" /> |
17 | 14 | <PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" />
|
18 |
| - <PackageReference Include="System.Security.Cryptography.Pkcs" /> |
| 15 | + <PackageReference Include="System.Security.Cryptography.Pkcs" /> |
| 16 | + </ItemGroup> |
| 17 | + <ItemGroup Condition="'$(TargetFramework)' == 'net462'"> |
| 18 | + <!-- References that only apply to net462 --> |
| 19 | + <Reference Include="System.Configuration" /> |
| 20 | + <Reference Include="System.Configuration.ConfigurationManager" /> |
| 21 | + <Reference Include="System.Transactions" /> |
| 22 | + <PackageReference Include="System.Data.Common" /> |
| 23 | + </ItemGroup> |
| 24 | + <ItemGroup Condition="'$(TargetFramework)' != 'net462'"> |
| 25 | + <!-- References that only apply to netcore --> |
| 26 | + <PackageReference Include="System.Configuration.ConfigurationManager" /> |
19 | 27 | </ItemGroup>
|
20 | 28 | </Project>
|
0 commit comments