Skip to content

Commit 1dc0b72

Browse files
committed
updated the pipeline to use net5
1 parent f9f9875 commit 1dc0b72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.azure/pipelines/azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ steps:
99

1010
# Build solution
1111
- script: |
12-
dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release
12+
dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net5
1313
displayName: 'Build'
1414

1515
# Test solution
1616
- script: |
17-
dotnet test EntityFrameworkCore.DataEncryption.sln --configuration Release /p:CollectCoverage=true /p:Exclude="[xunit*]*" /p:CoverletOutputFormat=opencover /p:CoverletOutput="../TestResults/TestResults.xml" /maxcpucount:1
17+
dotnet test EntityFrameworkCore.DataEncryption.sln --configuration Release /p:CollectCoverage=true /p:Exclude="[xunit*]*" /p:CoverletOutputFormat=opencover /p:CoverletOutput="../TestResults/TestResults.xml" /maxcpucount:1 -f net5
1818
displayName: 'Test'
1919

2020
# Upload coverage

test/EntityFrameworkCore.DataEncryption.Test/EntityFrameworkCore.DataEncryption.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<AssemblyName>Microsoft.EntityFrameworkCore.Encryption.Test</AssemblyName>
77
<RootNamespace>Microsoft.EntityFrameworkCore.Encryption.Test</RootNamespace>

0 commit comments

Comments
 (0)