|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFramework>netstandard1.3</TargetFramework> |
| 4 | + <TargetFrameworks>netstandard1.3;net451;net452;net46;net461</TargetFrameworks> |
5 | 5 | <Authors>Shervin Williams</Authors>
|
6 | 6 | <Company>ITpod</Company>
|
7 | 7 | <PackageTags>snipcart</PackageTags>
|
|
10 | 10 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
11 | 11 | </PropertyGroup>
|
12 | 12 |
|
13 |
| - <ItemGroup> |
14 |
| - <PackageReference Include="Newtonsoft.Json" Version="10.0.3" /> |
| 13 | + <ItemGroup Condition="'$(TargetFramework)'=='net451' OR '$(TargetFramework)'=='net452' OR '$(TargetFramework)'=='net461' OR '$(TargetFramework)'=='net46'"> |
| 14 | + <Reference Include="System.Net" /> |
| 15 | + <Reference Include="System.Net.Http" /> |
| 16 | + <Reference Include="System.Threading.Tasks" /> |
| 17 | + <Reference Include="System.Collections" /> |
15 | 18 | </ItemGroup>
|
16 | 19 |
|
17 | 20 | <ItemGroup>
|
|
20 | 23 | <Folder Include="webhooks\" />
|
21 | 24 | </ItemGroup>
|
22 | 25 |
|
| 26 | +<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'"> |
| 27 | + <PackageReference Include="Newtonsoft.Json"> |
| 28 | + <Version>10.0.1</Version> |
| 29 | + </PackageReference> |
| 30 | + </ItemGroup> |
| 31 | + |
| 32 | + |
| 33 | + <ItemGroup Condition="'$(TargetFramework)' == 'net46'"> |
| 34 | + <PackageReference Include="Newtonsoft.Json"> |
| 35 | + <Version>8.0.1</Version> |
| 36 | + </PackageReference> |
| 37 | + </ItemGroup> |
| 38 | + |
| 39 | + <ItemGroup Condition="'$(TargetFramework)' == 'net452'"> |
| 40 | + <PackageReference Include="Newtonsoft.Json"> |
| 41 | + <Version>8.0.1</Version> |
| 42 | + </PackageReference> |
| 43 | + </ItemGroup> |
| 44 | + |
| 45 | + <ItemGroup Condition="'$(TargetFramework)' == 'net451'"> |
| 46 | + <PackageReference Include="Newtonsoft.Json"> |
| 47 | + <Version>8.0.1</Version> |
| 48 | + </PackageReference> |
| 49 | + </ItemGroup> |
| 50 | + |
| 51 | + <ItemGroup Condition="'$(TargetFramework)' == 'net461'"> |
| 52 | + <PackageReference Include="Newtonsoft.Json"> |
| 53 | + <Version>8.0.1</Version> |
| 54 | + </PackageReference> |
| 55 | + </ItemGroup> |
| 56 | + |
23 | 57 | </Project>
|
0 commit comments