Skip to content

Commit 3f08ca5

Browse files
committed
Cleanup of Samples, Part 4
* Remove key signing from AssemblyInfo.[cs,vb] * Link all VB projects to SampleAssemblyInfo.vb * Remove copyright headers * Move individual AssemblyInfo.cs files into Properties directory
1 parent c9454d5 commit 3f08ca5

65 files changed

Lines changed: 503 additions & 757 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ICSharpCode.SharpZipLib.Samples/Samples.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "minibzip2", "vb\minibzip2\m
1717
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
1818
EndProjectSection
1919
EndProject
20-
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "viewzipfile", "vb\viewzipfile\viewzipfile.vbproj", "{DB53264C-64AD-4B43-91A9-F5325561C77B}"
20+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ViewZipFile", "vb\viewzipfile\ViewZipFile.vbproj", "{DB53264C-64AD-4B43-91A9-F5325561C77B}"
2121
ProjectSection(ProjectDependencies) = postProject
2222
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
2323
EndProjectSection
2424
EndProject
25-
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "zipfiletest", "vb\zipfiletest\zipfiletest.vbproj", "{54057AFD-35E2-48C3-8419-45D57C351C1F}"
25+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ZipFileTest", "vb\zipfiletest\ZipFileTest.vbproj", "{54057AFD-35E2-48C3-8419-45D57C351C1F}"
2626
ProjectSection(ProjectDependencies) = postProject
2727
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
2828
EndProjectSection

ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/AssemblyInfo.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/Cmd_BZip2.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
1-
// SharpZipLib samples
2-
// Copyright © 2000-2016 AlphaSierraPapa for the SharpZipLib Team
3-
// All rights reserved.
4-
//
5-
// Redistribution and use in source and binary forms, with or without modification, are
6-
// permitted provided that the following conditions are met:
7-
//
8-
// - Redistributions of source code must retain the above copyright notice, this list
9-
// of conditions and the following disclaimer.
10-
//
11-
// - Redistributions in binary form must reproduce the above copyright notice, this list
12-
// of conditions and the following disclaimer in the documentation and/or other materials
13-
// provided with the distribution.
14-
//
15-
// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to
16-
// endorse or promote products derived from this software without specific prior written
17-
// permission.
18-
//
19-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS
20-
// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21-
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
22-
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23-
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25-
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26-
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27-
281
using System;
292
using System.IO;
30-
313
using ICSharpCode.SharpZipLib.BZip2;
324

335
class Cmd_BZip2

ICSharpCode.SharpZipLib.Samples/cs/Cmd_BZip2/Cmd_BZip2.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ copy Cmd_BZip2.exe bunzip2.exe</PostBuildEvent>
8282
</ItemGroup>
8383
<ItemGroup>
8484
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
85-
<Link>GlobalAssemblyInfo.cs</Link>
85+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
8686
</Compile>
8787
<Compile Include="Cmd_BZip2.cs" />
88-
<Compile Include="AssemblyInfo.cs" />
88+
<Compile Include="Properties\AssemblyInfo.cs" />
8989
</ItemGroup>
9090
<ItemGroup>
9191
<None Include="app.config" />
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using System.Reflection;
2+
3+
// General Information about an assembly is controlled through the following
4+
// set of attributes. Change these attribute values to modify the information
5+
// associated with an assembly.
6+
[assembly: AssemblyTitle("Cmd_BZip2")]
7+
[assembly: AssemblyDescription("bzip2 based file compression")]
8+
[assembly: AssemblyCulture("")]

ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/AssemblyInfo.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
1-
// SharpZipLib samples
2-
// Copyright © 2000-2016 AlphaSierraPapa for the SharpZipLib Team
3-
// All rights reserved.
4-
//
5-
// Redistribution and use in source and binary forms, with or without modification, are
6-
// permitted provided that the following conditions are met:
7-
//
8-
// - Redistributions of source code must retain the above copyright notice, this list
9-
// of conditions and the following disclaimer.
10-
//
11-
// - Redistributions in binary form must reproduce the above copyright notice, this list
12-
// of conditions and the following disclaimer in the documentation and/or other materials
13-
// provided with the distribution.
14-
//
15-
// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to
16-
// endorse or promote products derived from this software without specific prior written
17-
// permission.
18-
//
19-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS
20-
// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21-
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
22-
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23-
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25-
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26-
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27-
281
using System;
292
using System.IO;
30-
313
using ICSharpCode.SharpZipLib.Checksum;
324

335
class Cmd_Checksum

ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
</ItemGroup>
7777
<ItemGroup>
7878
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
79-
<Link>GlobalAssemblyInfo.cs</Link>
79+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
8080
</Compile>
8181
<Compile Include="Cmd_Checksum.cs" />
82-
<Compile Include="AssemblyInfo.cs" />
82+
<Compile Include="Properties\AssemblyInfo.cs" />
8383
</ItemGroup>
8484
<ItemGroup>
8585
<None Include="app.config" />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
using System.Reflection;
2+
3+
[assembly: AssemblyTitle("Cmd_Checksum")]
4+
[assembly: AssemblyDescription("file checksum generator")]
5+
[assembly: AssemblyCulture("")]

ICSharpCode.SharpZipLib.Samples/cs/Cmd_GZip/Cmd_GZip.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
1-
// SharpZipLib samples
2-
// Copyright © 2000-2016 AlphaSierraPapa for the SharpZipLib Team
3-
// All rights reserved.
4-
//
5-
// Redistribution and use in source and binary forms, with or without modification, are
6-
// permitted provided that the following conditions are met:
7-
//
8-
// - Redistributions of source code must retain the above copyright notice, this list
9-
// of conditions and the following disclaimer.
10-
//
11-
// - Redistributions in binary form must reproduce the above copyright notice, this list
12-
// of conditions and the following disclaimer in the documentation and/or other materials
13-
// provided with the distribution.
14-
//
15-
// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to
16-
// endorse or promote products derived from this software without specific prior written
17-
// permission.
18-
//
19-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS
20-
// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21-
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
22-
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23-
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25-
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26-
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27-
281
using System;
292
using System.IO;
30-
313
using ICSharpCode.SharpZipLib.GZip;
324

335
class Cmd_GZip

0 commit comments

Comments
 (0)