Skip to content

Commit 1a0f342

Browse files
authored
Add back netcoreapp3.1 (#129)
Restore support (plus tests) for the `netcoreapp3.1` target framework.
1 parent 45f4c1d commit 1a0f342

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

LibZipSharp.UnitTest/LibZipSharp.UnitTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(MSBuildThisFileDirectory)..\LibZipSharp.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>net471;net7.0</TargetFrameworks>
6+
<TargetFrameworks>net471;net7.0;netcoreapp3.1</TargetFrameworks>
77

88
<IsPackable>false</IsPackable>
99
<LibZipSharpBundleAllNativeLibraries>true</LibZipSharpBundleAllNativeLibraries>

LibZipSharp/libZipSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup>
55
<AssemblyName>libZipSharp</AssemblyName>
66
<AssemblyTitle>libZipSharp</AssemblyTitle>
7-
<TargetFrameworks>net7.0;netstandard2.0;net45</TargetFrameworks>
7+
<TargetFrameworks>net7.0;netstandard2.0;net45;netcoreapp3.1</TargetFrameworks>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1010
<RootNamespace>Xamarin.Tools.Zip</RootNamespace>

azure-pipelines.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ stages:
173173
- stage: Test
174174
dependsOn: Build
175175
variables:
176-
DotNetCoreVersion: 7.0.200
176+
DotNetCoreVersion: 3.1.201
177+
DotNetVersion: 7.0.203
177178
jobs:
178179
- job: testlinux
179180
displayName: 'Test Linux'
@@ -185,6 +186,9 @@ stages:
185186
- template: yaml-templates/use-dot-net.yaml
186187
parameters:
187188
version: $(DotNetCoreVersion)
189+
- template: yaml-templates/use-dot-net.yaml
190+
parameters:
191+
version: $(DotNetVersion)
188192
- task: DownloadBuildArtifacts@0
189193
displayName: download artifacts
190194
inputs:
@@ -211,6 +215,9 @@ stages:
211215
- template: yaml-templates/use-dot-net.yaml
212216
parameters:
213217
version: $(DotNetCoreVersion)
218+
- template: yaml-templates/use-dot-net.yaml
219+
parameters:
220+
version: $(DotNetVersion)
214221
- task: DownloadBuildArtifacts@0
215222
displayName: download artifacts
216223
inputs:
@@ -239,6 +246,9 @@ stages:
239246
- template: yaml-templates/use-dot-net.yaml
240247
parameters:
241248
version: $(DotNetCoreVersion)
249+
- template: yaml-templates/use-dot-net.yaml
250+
parameters:
251+
version: $(DotNetVersion)
242252
- task: DownloadBuildArtifacts@0
243253
displayName: download artifacts
244254
inputs:

0 commit comments

Comments
 (0)