From fedee8a61ed46db1824bdc04fc9cfb89d4e25b9e Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Wed, 2 Aug 2023 12:04:11 +0200 Subject: [PATCH] Move CsvIndexer and CsvParser to CsvLib project. --- {Code => CsvLib}/CsvIndexer.cs | 2 +- CsvLib/CsvLib.csproj | 7 +++++++ {Code => CsvLib}/CsvParser.cs | 2 +- {Code => CsvLib}/TrackingTextReader.cs | 2 +- CsvView.csproj | 9 ++++++--- CsvView.sln | 6 ++++++ CsvView.sln.DotSettings | 3 +++ UI/FrmCsvViewer.cs | 4 ++-- 8 files changed, 27 insertions(+), 8 deletions(-) rename {Code => CsvLib}/CsvIndexer.cs (99%) create mode 100644 CsvLib/CsvLib.csproj rename {Code => CsvLib}/CsvParser.cs (99%) rename {Code => CsvLib}/TrackingTextReader.cs (97%) create mode 100644 CsvView.sln.DotSettings diff --git a/Code/CsvIndexer.cs b/CsvLib/CsvIndexer.cs similarity index 99% rename from Code/CsvIndexer.cs rename to CsvLib/CsvIndexer.cs index 7ee21bd..7c1de3d 100644 --- a/Code/CsvIndexer.cs +++ b/CsvLib/CsvIndexer.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.IO; using System.Text; -namespace CsvView.Code +namespace CsvLib { public class CsvIndexer { diff --git a/CsvLib/CsvLib.csproj b/CsvLib/CsvLib.csproj new file mode 100644 index 0000000..2756020 --- /dev/null +++ b/CsvLib/CsvLib.csproj @@ -0,0 +1,7 @@ + + + + netstandard2.0 + + + diff --git a/Code/CsvParser.cs b/CsvLib/CsvParser.cs similarity index 99% rename from Code/CsvParser.cs rename to CsvLib/CsvParser.cs index d6c3274..b45563b 100644 --- a/Code/CsvParser.cs +++ b/CsvLib/CsvParser.cs @@ -2,7 +2,7 @@ using System.IO; using System.Text; -namespace CsvView.Code +namespace CsvLib { public class CsvParser { diff --git a/Code/TrackingTextReader.cs b/CsvLib/TrackingTextReader.cs similarity index 97% rename from Code/TrackingTextReader.cs rename to CsvLib/TrackingTextReader.cs index 79b76fa..6009077 100644 --- a/Code/TrackingTextReader.cs +++ b/CsvLib/TrackingTextReader.cs @@ -1,7 +1,7 @@ using System; using System.IO; -namespace CsvView.Code +namespace CsvLib { public class TrackingTextReader : TextReader { diff --git a/CsvView.csproj b/CsvView.csproj index d582b55..97cb645 100644 --- a/CsvView.csproj +++ b/CsvView.csproj @@ -64,9 +64,6 @@ - - - Component @@ -102,6 +99,12 @@ + + + {eb0fdb60-8b9d-401c-85a8-4cf4105d5063} + CsvLib + +