Skip to content

Commit c2764a8

Browse files
committed
Move to new TFM net5.0
1 parent 206b0ec commit c2764a8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

FollowingFileStream.ConsoleTestTool/FollowingFileStream.ConsoleTestTool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFrameworks>netcoreapp5.0;netcoreapp3.0;netcoreapp2.2</TargetFrameworks>
9+
<TargetFrameworks>net5.0;netcoreapp3.0;netcoreapp2.2</TargetFrameworks>
1010
<LangVersion>8.0</LangVersion>
1111
<nullable>enable</nullable>
1212
<IsPackable>false</IsPackable>

FollowingFileStream.Tests/FollowingFileStream.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp5.0;netcoreapp3.0;netcoreapp2.2</TargetFrameworks>
3+
<TargetFrameworks>net5.0;netcoreapp3.0;netcoreapp2.2</TargetFrameworks>
44
<LangVersion>8.0</LangVersion>
55
<nullable>enable</nullable>
66
<IsPackable>false</IsPackable>

FollowingFileStream/FollowingFileStream.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
<PropertyGroup>
33
<OutputType>Library</OutputType>
4-
<TargetFrameworks>netcoreapp5.0;netstandard2.1;netstandard2.0;netstandard1.3</TargetFrameworks>
4+
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;netstandard1.3</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<nullable>enable</nullable>
77
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
scannerMode: 'MSBuild'
5252
projectKey: 'manandre_FollowingFileStream'
5353
projectVersion: '$(Build.BuildId)'
54-
extraProperties: 'sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/coverage/coverage.netcoreapp5.0.opencover.xml'
54+
extraProperties: 'sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/coverage/coverage.net5.0.opencover.xml'
5555

5656
- task: DotNetCoreCLI@2
5757
displayName: Restore
@@ -86,13 +86,13 @@ jobs:
8686

8787
- script: |
8888
dotnet tool install dotnet-reportgenerator-globaltool --tool-path .
89-
./reportgenerator "-reports:$(Build.SourcesDirectory)/coverage/coverage.netcoreapp5.0.opencover.xml" "-targetdir:coverage/Cobertura" "-reporttypes:Cobertura;HTMLInline;HTMLChart"
89+
./reportgenerator "-reports:$(Build.SourcesDirectory)/coverage/coverage.net5.0.opencover.xml" "-targetdir:coverage/Cobertura" "-reporttypes:Cobertura;HTMLInline;HTMLChart"
9090
condition: eq( variables['Agent.OS'], 'Linux' )
9191
displayName: Run Reportgenerator on Linux
9292
9393
- script: |
9494
dotnet tool install dotnet-reportgenerator-globaltool --tool-path .
95-
.\reportgenerator.exe "-reports:$(Build.SourcesDirectory)/coverage/coverage.netcoreapp5.0.opencover.xml" "-targetdir:coverage/Cobertura" "-reporttypes:Cobertura;HTMLInline;HTMLChart"
95+
.\reportgenerator.exe "-reports:$(Build.SourcesDirectory)/coverage/coverage.net5.0.opencover.xml" "-targetdir:coverage/Cobertura" "-reporttypes:Cobertura;HTMLInline;HTMLChart"
9696
condition: eq( variables['Agent.OS'], 'Windows_NT' )
9797
displayName: Run Reportgenerator on Windows
9898

0 commit comments

Comments
 (0)