Skip to content

Commit 8f33a9a

Browse files
committed
Update to support .NET 5.0.
1 parent 8802935 commit 8f33a9a

File tree

10 files changed

+38
-125
lines changed

10 files changed

+38
-125
lines changed

Argus.IO.ReverseFileReader.sln

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.28729.10
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Argus.IO.ReverseFileReader", "Argus.IO.ReverseFileReader\Argus.IO.ReverseFileReader.csproj", "{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}"
7-
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tail", "Tail\Tail.csproj", "{FE24E1C4-4238-4162-94B4-155DCF5B2252}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Argus.IO.ReverseFileReader", "src\Argus.IO.ReverseFileReader\Argus.IO.ReverseFileReader.csproj", "{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}"
97
EndProject
108
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8B941A3E-D5C7-4EE2-8D4B-50021B7122C0}"
119
ProjectSection(SolutionItems) = preProject
1210
LICENSE = LICENSE
1311
README.md = README.md
1412
EndProjectSection
1513
EndProject
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tail", "src\Tail\Tail.csproj", "{4C3118F5-F65C-440C-8C70-140D44E92B28}"
15+
EndProject
1616
Global
1717
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1818
Debug|Any CPU = Debug|Any CPU
@@ -23,10 +23,10 @@ Global
2323
{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}.Debug|Any CPU.Build.0 = Debug|Any CPU
2424
{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}.Release|Any CPU.ActiveCfg = Release|Any CPU
2525
{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}.Release|Any CPU.Build.0 = Release|Any CPU
26-
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27-
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Debug|Any CPU.Build.0 = Debug|Any CPU
28-
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Release|Any CPU.ActiveCfg = Release|Any CPU
29-
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Release|Any CPU.Build.0 = Release|Any CPU
3030
EndGlobalSection
3131
GlobalSection(SolutionProperties) = preSolution
3232
HideSolutionNode = FALSE

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Although this is geared towards files it will read any Stream line by line in re
1111

1212
## .Net Framework Support
1313

14+
- .NET 5.0
1415
- .NET Standard 2.1
1516
- .NET Standard 2.0
1617
- .NET Framework 4.7.2

Tail/App.config

-6
This file was deleted.

Tail/Properties/AssemblyInfo.cs

-36
This file was deleted.

Tail/Tail.csproj

-59
This file was deleted.

Argus.IO.ReverseFileReader/Argus.IO.ReverseFileReader.csproj renamed to src/Argus.IO.ReverseFileReader/Argus.IO.ReverseFileReader.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.1;netstandard2.0;net472;net471;net47;net462;net461;net46;net452;net451;net45;net4</TargetFrameworks>
4+
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;net472;net471;net47;net462;net461;net46;net452;net451;net45;net4</TargetFrameworks>
55
<PackageId>Argus.IO.ReverseFileReader</PackageId>
66
<Title>Argus.IO.ReverseFileReader</Title>
7-
<Version>2019.11.22.1</Version>
7+
<Version>2020.11.11.1</Version>
88
<Authors>Blake Pell</Authors>
99
<Company>http://www.blakepell.com</Company>
1010
<Product>Argus.IO.ReverseFileReader</Product>
11-
<Copyright>Copyright © 2007-2019</Copyright>
11+
<Copyright>Copyright © 2007-2020</Copyright>
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1313
<Description>A file/stream reader that is designed to iterate over a file or a stream line by line in reverse order in a way that does not read all of the lines into memory at one time. This supports .NET Standard, the full framework as well as the Windows Universal Platform (UWP) apps.</Description>
1414
<PackageTags>reverse file stream reader backwards tail</PackageTags>
@@ -17,7 +17,7 @@
1717
<PackageProjectUrl>https://github.com/blakepell/Argus.IO.ReverseFileReader</PackageProjectUrl>
1818
<RepositoryUrl>https://github.com/blakepell/Argus.IO.ReverseFileReader</RepositoryUrl>
1919
<NeutralLanguage>en-US</NeutralLanguage>
20-
<PackageReleaseNotes> - Updated targets to add .NET Standard 2.1</PackageReleaseNotes>
20+
<PackageReleaseNotes>- Updated targets to add .NET 5.0</PackageReleaseNotes>
2121
<PackageIconUrl>https://raw.githubusercontent.com/blakepell/Argus.IO.ReverseFileReader/master/Assets/Argus-Logo-Purple-64.png</PackageIconUrl>
2222
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2323
</PropertyGroup>

Tail/Program.cs renamed to src/Tail/Program.cs

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@
44

55
namespace Tail
66
{
7+
78
/// <summary>
89
/// A tail program to view the last set of lines in a specified file.
910
/// </summary>
10-
class Program
11+
static class Program
1112
{
12-
//*********************************************************************************************************************
13-
//
14-
// Program: Tail
15-
// Organization: http://www.blakepell.com
16-
// Initial Date: 04/06/2019
17-
// Last Modified: 04/06/2019
18-
// Programmer(s): Blake Pell, [email protected]
19-
//
20-
//*********************************************************************************************************************
21-
2213
static void Main(string[] args)
2314
{
15+
//*********************************************************************************************************************
16+
//
17+
// Program: Tail
18+
// Organization: http://www.blakepell.com
19+
// Initial Date: 04/06/2019
20+
// Last Modified: 11/11/2020
21+
// Programmer(s): Blake Pell, [email protected]
22+
//
23+
//*********************************************************************************************************************
24+
2425
int linesToFetch = 10;
2526
string filePath = "";
2627

@@ -81,8 +82,7 @@ static void Main(string[] args)
8182
{
8283
Console.WriteLine(line);
8384
}
84-
8585
}
8686
}
8787
}
88-
}
88+
}

src/Tail/Tail.csproj

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net5.0</TargetFramework>
6+
<AssemblyName>tail</AssemblyName>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="..\Argus.IO.ReverseFileReader\Argus.IO.ReverseFileReader.csproj" />
11+
</ItemGroup>
12+
13+
</Project>

0 commit comments

Comments
 (0)