From 33da79179e1e3fbdb9939d0aa6a54005af320553 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sat, 6 Feb 2021 15:49:43 +0000 Subject: [PATCH] PR #533: Convert the C# sample projects to PackageReference format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Convert the C# sample projects to PackageReference format * Update example package ref to v1.3.1 Co-authored-by: nils måsén --- .../cs/Cmd_BZip2/Cmd_BZip2.csproj | 11 ++++++----- .../cs/Cmd_BZip2/packages.config | 4 ---- .../cs/Cmd_Checksum/Cmd_Checksum.csproj | 11 ++++++----- .../cs/Cmd_Checksum/packages.config | 4 ---- .../cs/Cmd_GZip/Cmd_GZip.csproj | 11 ++++++----- .../cs/Cmd_GZip/packages.config | 4 ---- .../cs/Cmd_Tar/Cmd_Tar.csproj | 11 ++++++----- .../cs/Cmd_Tar/packages.config | 4 ---- .../cs/Cmd_ZipInfo/Cmd_ZipInfo.csproj | 11 ++++++----- .../cs/Cmd_ZipInfo/packages.config | 4 ---- .../cs/CreateZipFile/CreateZipFile.csproj | 11 ++++++----- .../cs/CreateZipFile/packages.config | 4 ---- .../cs/FastZip/FastZip.csproj | 8 ++++++-- .../cs/FastZip/packages.config | 4 ---- .../cs/sz/packages.config | 4 ---- .../ICSharpCode.SharpZipLib.Samples/cs/sz/sz.csproj | 11 ++++++----- .../cs/unzipfile/packages.config | 4 ---- .../cs/unzipfile/unzipfile.csproj | 11 ++++++----- .../cs/viewzipfile/packages.config | 4 ---- .../cs/viewzipfile/viewzipfile.csproj | 11 ++++++----- .../cs/zf/packages.config | 4 ---- .../ICSharpCode.SharpZipLib.Samples/cs/zf/zf.csproj | 11 ++++++----- 22 files changed, 66 insertions(+), 96 deletions(-) delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/sz/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/packages.config delete mode 100644 samples/ICSharpCode.SharpZipLib.Samples/cs/zf/packages.config diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/Cmd_BZip2.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/Cmd_BZip2.csproj index 121410932..07039ab9d 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/Cmd_BZip2.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/Cmd_BZip2.csproj @@ -80,9 +80,6 @@ copy Cmd_BZip2.exe bunzip2.exe 4096 - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -91,7 +88,6 @@ copy Cmd_BZip2.exe bunzip2.exe - @@ -103,5 +99,10 @@ copy Cmd_BZip2.exe bunzip2.exe + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.csproj index 7bfc3d9c2..1509d6080 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.csproj @@ -74,9 +74,6 @@ true - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -90,7 +87,6 @@ - @@ -102,5 +98,10 @@ + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/Cmd_GZip.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/Cmd_GZip.csproj index ce1d46a9a..d5e021825 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/Cmd_GZip.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/Cmd_GZip.csproj @@ -74,9 +74,6 @@ copy Cmd_GZip.exe gunzip.exe true - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -90,7 +87,6 @@ copy Cmd_GZip.exe gunzip.exe - @@ -102,5 +98,10 @@ copy Cmd_GZip.exe gunzip.exe + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/Cmd_Tar.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/Cmd_Tar.csproj index e002adadf..4f6bb416a 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/Cmd_Tar.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/Cmd_Tar.csproj @@ -66,9 +66,6 @@ Cmd_Tar - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -84,7 +81,6 @@ - @@ -93,8 +89,13 @@ true + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Tar/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/Cmd_ZipInfo.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/Cmd_ZipInfo.csproj index 7cb8118c7..0e3d31240 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/Cmd_ZipInfo.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/Cmd_ZipInfo.csproj @@ -73,9 +73,6 @@ true - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -89,7 +86,6 @@ - @@ -101,5 +97,10 @@ + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_ZipInfo/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/CreateZipFile.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/CreateZipFile.csproj index 08cc046ff..61dcf0166 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/CreateZipFile.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/CreateZipFile.csproj @@ -81,9 +81,6 @@ - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -97,7 +94,6 @@ - @@ -109,5 +105,10 @@ + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/FastZip.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/FastZip.csproj index 5bcd65546..6a948c6b5 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/FastZip.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/FastZip.csproj @@ -80,7 +80,6 @@ - @@ -89,5 +88,10 @@ true + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/FastZip/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/sz.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/sz.csproj index a749293f9..02a096db6 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/sz.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/sz/sz.csproj @@ -62,9 +62,6 @@ false - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -78,7 +75,6 @@ - @@ -87,5 +83,10 @@ true + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/unzipfile.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/unzipfile.csproj index 3d8ca89e8..fa3f6b8fc 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/unzipfile.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/unzipfile.csproj @@ -38,9 +38,6 @@ UnZipFileClass - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -58,11 +55,15 @@ - + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/viewzipfile.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/viewzipfile.csproj index 531d502c4..0b10efd15 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/viewzipfile.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/viewzipfile/viewzipfile.csproj @@ -38,9 +38,6 @@ ViewZipFileClass - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -58,11 +55,15 @@ - + + + 1.3.1 + + - \ No newline at end of file + diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/packages.config b/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/packages.config deleted file mode 100644 index a938c1f99..000000000 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/zf.csproj b/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/zf.csproj index 9013296b9..e8d8b757f 100644 --- a/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/zf.csproj +++ b/samples/ICSharpCode.SharpZipLib.Samples/cs/zf/zf.csproj @@ -62,9 +62,6 @@ false - - ..\..\packages\SharpZipLib.1.3.0\lib\net45\ICSharpCode.SharpZipLib.dll - @@ -78,7 +75,6 @@ - @@ -87,5 +83,10 @@ true + + + 1.3.1 + + - \ No newline at end of file +