Skip to content

Commit

Permalink
Update to support .NET 5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakepell committed Nov 11, 2020
1 parent 8802935 commit 8f33a9a
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 125 deletions.
14 changes: 7 additions & 7 deletions Argus.IO.ReverseFileReader.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28729.10
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Argus.IO.ReverseFileReader", "Argus.IO.ReverseFileReader\Argus.IO.ReverseFileReader.csproj", "{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tail", "Tail\Tail.csproj", "{FE24E1C4-4238-4162-94B4-155DCF5B2252}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Argus.IO.ReverseFileReader", "src\Argus.IO.ReverseFileReader\Argus.IO.ReverseFileReader.csproj", "{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8B941A3E-D5C7-4EE2-8D4B-50021B7122C0}"
ProjectSection(SolutionItems) = preProject
LICENSE = LICENSE
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tail", "src\Tail\Tail.csproj", "{4C3118F5-F65C-440C-8C70-140D44E92B28}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -23,10 +23,10 @@ Global
{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AF10E1E-88CA-4D2C-80AD-C4FE109C8801}.Release|Any CPU.Build.0 = Release|Any CPU
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FE24E1C4-4238-4162-94B4-155DCF5B2252}.Release|Any CPU.Build.0 = Release|Any CPU
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C3118F5-F65C-440C-8C70-140D44E92B28}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Although this is geared towards files it will read any Stream line by line in re

## .Net Framework Support

- .NET 5.0
- .NET Standard 2.1
- .NET Standard 2.0
- .NET Framework 4.7.2
Expand Down
6 changes: 0 additions & 6 deletions Tail/App.config

This file was deleted.

36 changes: 0 additions & 36 deletions Tail/Properties/AssemblyInfo.cs

This file was deleted.

59 changes: 0 additions & 59 deletions Tail/Tail.csproj

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;netstandard2.0;net472;net471;net47;net462;net461;net46;net452;net451;net45;net4</TargetFrameworks>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;net472;net471;net47;net462;net461;net46;net452;net451;net45;net4</TargetFrameworks>
<PackageId>Argus.IO.ReverseFileReader</PackageId>
<Title>Argus.IO.ReverseFileReader</Title>
<Version>2019.11.22.1</Version>
<Version>2020.11.11.1</Version>
<Authors>Blake Pell</Authors>
<Company>http://www.blakepell.com</Company>
<Product>Argus.IO.ReverseFileReader</Product>
<Copyright>Copyright © 2007-2019</Copyright>
<Copyright>Copyright © 2007-2020</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<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>
<PackageTags>reverse file stream reader backwards tail</PackageTags>
Expand All @@ -17,7 +17,7 @@
<PackageProjectUrl>https://github.com/blakepell/Argus.IO.ReverseFileReader</PackageProjectUrl>
<RepositoryUrl>https://github.com/blakepell/Argus.IO.ReverseFileReader</RepositoryUrl>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageReleaseNotes> - Updated targets to add .NET Standard 2.1</PackageReleaseNotes>
<PackageReleaseNotes>- Updated targets to add .NET 5.0</PackageReleaseNotes>
<PackageIconUrl>https://raw.githubusercontent.com/blakepell/Argus.IO.ReverseFileReader/master/Assets/Argus-Logo-Purple-64.png</PackageIconUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
Expand Down
File renamed without changes.
26 changes: 13 additions & 13 deletions Tail/Program.cs → src/Tail/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@

namespace Tail
{

/// <summary>
/// A tail program to view the last set of lines in a specified file.
/// </summary>
class Program
static class Program
{
//*********************************************************************************************************************
//
// Program: Tail
// Organization: http://www.blakepell.com
// Initial Date: 04/06/2019
// Last Modified: 04/06/2019
// Programmer(s): Blake Pell, blakepell@hotmail.com
//
//*********************************************************************************************************************

static void Main(string[] args)
{
//*********************************************************************************************************************
//
// Program: Tail
// Organization: http://www.blakepell.com
// Initial Date: 04/06/2019
// Last Modified: 11/11/2020
// Programmer(s): Blake Pell, blakepell@hotmail.com
//
//*********************************************************************************************************************

int linesToFetch = 10;
string filePath = "";

Expand Down Expand Up @@ -81,8 +82,7 @@ static void Main(string[] args)
{
Console.WriteLine(line);
}

}
}
}
}
}
13 changes: 13 additions & 0 deletions src/Tail/Tail.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<AssemblyName>tail</AssemblyName>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Argus.IO.ReverseFileReader\Argus.IO.ReverseFileReader.csproj" />
</ItemGroup>

</Project>

0 comments on commit 8f33a9a

Please sign in to comment.