Skip to content

Commit d0e305f

Browse files
committed
Cleanup of Samples, Part 2
* Update all .(cs,vb)proj files * Create separate .sln for samples * Add WpfCreateZipFile to VB projects [ci skip]
1 parent 3d3898e commit d0e305f

49 files changed

Lines changed: 1790 additions & 88 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25123.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CS", "CS", "{07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "VB", "VB", "{F2D07126-17F2-4EBE-910D-B3838DA7C6D3}"
9+
EndProject
10+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CreateZipFile", "vb\CreateZipFile\CreateZipFile.vbproj", "{1B2FD768-E530-45B7-B14F-AE5D07B24485}"
11+
ProjectSection(ProjectDependencies) = postProject
12+
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
13+
EndProjectSection
14+
EndProject
15+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "minibzip2", "vb\minibzip2\minibzip2.vbproj", "{E4AFB41C-DDBB-44AD-9D64-304B7FEE66C9}"
16+
ProjectSection(ProjectDependencies) = postProject
17+
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
18+
EndProjectSection
19+
EndProject
20+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "viewzipfile", "vb\viewzipfile\viewzipfile.vbproj", "{DB53264C-64AD-4B43-91A9-F5325561C77B}"
21+
ProjectSection(ProjectDependencies) = postProject
22+
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
23+
EndProjectSection
24+
EndProject
25+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "zipfiletest", "vb\zipfiletest\zipfiletest.vbproj", "{54057AFD-35E2-48C3-8419-45D57C351C1F}"
26+
ProjectSection(ProjectDependencies) = postProject
27+
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} = {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}
28+
EndProjectSection
29+
EndProject
30+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WpfCreateZipFile", "vb\WpfCreateZipFile\WpfCreateZipFile.vbproj", "{2B42AA12-DD23-4EB8-A1CD-5D0F4B772895}"
31+
EndProject
32+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.SharpZipLib", "..\ICSharpCode.SharpZipLib\ICSharpCode.SharpZipLib.csproj", "{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}"
33+
EndProject
34+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPFFolderBrowser", "..\..\wpffolderbrowser\WPFFolderBrowser.csproj", "{CE304F35-FABF-4A24-AC48-5710670A82BE}"
35+
EndProject
36+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CreateZipFile", "cs\CreateZipFile\CreateZipFile.csproj", "{DF63551E-BB6C-4A8D-9B01-DB94F721E74A}"
37+
EndProject
38+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FastZip", "cs\FastZip\FastZip.csproj", "{61BE8DBC-149A-4564-B891-9EEA4A09ED12}"
39+
EndProject
40+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "minibzip2", "cs\minibzip2\minibzip2.csproj", "{7520CE0B-F1D4-4148-8427-BB03669D7672}"
41+
EndProject
42+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "minigzip", "cs\minigzip\minigzip.csproj", "{301EF496-ED72-4448-A98E-A60D6BF6E0AE}"
43+
EndProject
44+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sz", "cs\sz\sz.csproj", "{CE0CEA62-CC91-4D17-BC57-A5FCACCA6A1F}"
45+
EndProject
46+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tar", "cs\tar\Tar.csproj", "{12C2AD0C-B815-426D-AFF1-7787C2DCA0F0}"
47+
EndProject
48+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "zf", "cs\zf\zf.csproj", "{90E83588-261C-45A3-964F-4B707357D437}"
49+
EndProject
50+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "zipfiletest", "cs\zipfiletest\zipfiletest.csproj", "{4C2CF0B1-FA7B-4FB6-83BA-24A9549AAB02}"
51+
EndProject
52+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unzipfile", "cs\unzipfile\unzipfile.csproj", "{DE6AA83B-1EFA-41B0-85D9-49DA1B0202BC}"
53+
EndProject
54+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "viewzipfile", "cs\viewzipfile\viewzipfile.csproj", "{F356B460-0DEA-4F7D-9CD8-7475B9BEC1F7}"
55+
EndProject
56+
Global
57+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
58+
Debug|Any CPU = Debug|Any CPU
59+
Release|Any CPU = Release|Any CPU
60+
EndGlobalSection
61+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
62+
{1B2FD768-E530-45B7-B14F-AE5D07B24485}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
63+
{1B2FD768-E530-45B7-B14F-AE5D07B24485}.Debug|Any CPU.Build.0 = Debug|Any CPU
64+
{1B2FD768-E530-45B7-B14F-AE5D07B24485}.Release|Any CPU.ActiveCfg = Release|Any CPU
65+
{1B2FD768-E530-45B7-B14F-AE5D07B24485}.Release|Any CPU.Build.0 = Release|Any CPU
66+
{E4AFB41C-DDBB-44AD-9D64-304B7FEE66C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
67+
{E4AFB41C-DDBB-44AD-9D64-304B7FEE66C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
68+
{E4AFB41C-DDBB-44AD-9D64-304B7FEE66C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
69+
{E4AFB41C-DDBB-44AD-9D64-304B7FEE66C9}.Release|Any CPU.Build.0 = Release|Any CPU
70+
{DB53264C-64AD-4B43-91A9-F5325561C77B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
71+
{DB53264C-64AD-4B43-91A9-F5325561C77B}.Debug|Any CPU.Build.0 = Debug|Any CPU
72+
{DB53264C-64AD-4B43-91A9-F5325561C77B}.Release|Any CPU.ActiveCfg = Release|Any CPU
73+
{DB53264C-64AD-4B43-91A9-F5325561C77B}.Release|Any CPU.Build.0 = Release|Any CPU
74+
{54057AFD-35E2-48C3-8419-45D57C351C1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
75+
{54057AFD-35E2-48C3-8419-45D57C351C1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
76+
{54057AFD-35E2-48C3-8419-45D57C351C1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
77+
{54057AFD-35E2-48C3-8419-45D57C351C1F}.Release|Any CPU.Build.0 = Release|Any CPU
78+
{2B42AA12-DD23-4EB8-A1CD-5D0F4B772895}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79+
{2B42AA12-DD23-4EB8-A1CD-5D0F4B772895}.Debug|Any CPU.Build.0 = Debug|Any CPU
80+
{2B42AA12-DD23-4EB8-A1CD-5D0F4B772895}.Release|Any CPU.ActiveCfg = Release|Any CPU
81+
{2B42AA12-DD23-4EB8-A1CD-5D0F4B772895}.Release|Any CPU.Build.0 = Release|Any CPU
82+
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
83+
{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
84+
{CE304F35-FABF-4A24-AC48-5710670A82BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
85+
{CE304F35-FABF-4A24-AC48-5710670A82BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
86+
{CE304F35-FABF-4A24-AC48-5710670A82BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
87+
{CE304F35-FABF-4A24-AC48-5710670A82BE}.Release|Any CPU.Build.0 = Release|Any CPU
88+
{DF63551E-BB6C-4A8D-9B01-DB94F721E74A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
89+
{DF63551E-BB6C-4A8D-9B01-DB94F721E74A}.Debug|Any CPU.Build.0 = Debug|Any CPU
90+
{DF63551E-BB6C-4A8D-9B01-DB94F721E74A}.Release|Any CPU.ActiveCfg = Release|Any CPU
91+
{DF63551E-BB6C-4A8D-9B01-DB94F721E74A}.Release|Any CPU.Build.0 = Release|Any CPU
92+
{61BE8DBC-149A-4564-B891-9EEA4A09ED12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
93+
{61BE8DBC-149A-4564-B891-9EEA4A09ED12}.Debug|Any CPU.Build.0 = Debug|Any CPU
94+
{61BE8DBC-149A-4564-B891-9EEA4A09ED12}.Release|Any CPU.ActiveCfg = Release|Any CPU
95+
{61BE8DBC-149A-4564-B891-9EEA4A09ED12}.Release|Any CPU.Build.0 = Release|Any CPU
96+
{7520CE0B-F1D4-4148-8427-BB03669D7672}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
97+
{7520CE0B-F1D4-4148-8427-BB03669D7672}.Debug|Any CPU.Build.0 = Debug|Any CPU
98+
{7520CE0B-F1D4-4148-8427-BB03669D7672}.Release|Any CPU.ActiveCfg = Release|Any CPU
99+
{7520CE0B-F1D4-4148-8427-BB03669D7672}.Release|Any CPU.Build.0 = Release|Any CPU
100+
{301EF496-ED72-4448-A98E-A60D6BF6E0AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
101+
{301EF496-ED72-4448-A98E-A60D6BF6E0AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
102+
{301EF496-ED72-4448-A98E-A60D6BF6E0AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
103+
{301EF496-ED72-4448-A98E-A60D6BF6E0AE}.Release|Any CPU.Build.0 = Release|Any CPU
104+
{CE0CEA62-CC91-4D17-BC57-A5FCACCA6A1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
105+
{CE0CEA62-CC91-4D17-BC57-A5FCACCA6A1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
106+
{CE0CEA62-CC91-4D17-BC57-A5FCACCA6A1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
107+
{CE0CEA62-CC91-4D17-BC57-A5FCACCA6A1F}.Release|Any CPU.Build.0 = Release|Any CPU
108+
{12C2AD0C-B815-426D-AFF1-7787C2DCA0F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
109+
{12C2AD0C-B815-426D-AFF1-7787C2DCA0F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
110+
{12C2AD0C-B815-426D-AFF1-7787C2DCA0F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
111+
{12C2AD0C-B815-426D-AFF1-7787C2DCA0F0}.Release|Any CPU.Build.0 = Release|Any CPU
112+
{90E83588-261C-45A3-964F-4B707357D437}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
113+
{90E83588-261C-45A3-964F-4B707357D437}.Debug|Any CPU.Build.0 = Debug|Any CPU
114+
{90E83588-261C-45A3-964F-4B707357D437}.Release|Any CPU.ActiveCfg = Release|Any CPU
115+
{90E83588-261C-45A3-964F-4B707357D437}.Release|Any CPU.Build.0 = Release|Any CPU
116+
{4C2CF0B1-FA7B-4FB6-83BA-24A9549AAB02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
117+
{4C2CF0B1-FA7B-4FB6-83BA-24A9549AAB02}.Debug|Any CPU.Build.0 = Debug|Any CPU
118+
{4C2CF0B1-FA7B-4FB6-83BA-24A9549AAB02}.Release|Any CPU.ActiveCfg = Release|Any CPU
119+
{4C2CF0B1-FA7B-4FB6-83BA-24A9549AAB02}.Release|Any CPU.Build.0 = Release|Any CPU
120+
{DE6AA83B-1EFA-41B0-85D9-49DA1B0202BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121+
{DE6AA83B-1EFA-41B0-85D9-49DA1B0202BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
122+
{DE6AA83B-1EFA-41B0-85D9-49DA1B0202BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
123+
{DE6AA83B-1EFA-41B0-85D9-49DA1B0202BC}.Release|Any CPU.Build.0 = Release|Any CPU
124+
{F356B460-0DEA-4F7D-9CD8-7475B9BEC1F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
125+
{F356B460-0DEA-4F7D-9CD8-7475B9BEC1F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
126+
{F356B460-0DEA-4F7D-9CD8-7475B9BEC1F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
127+
{F356B460-0DEA-4F7D-9CD8-7475B9BEC1F7}.Release|Any CPU.Build.0 = Release|Any CPU
128+
EndGlobalSection
129+
GlobalSection(SolutionProperties) = preSolution
130+
HideSolutionNode = FALSE
131+
EndGlobalSection
132+
GlobalSection(NestedProjects) = preSolution
133+
{1B2FD768-E530-45B7-B14F-AE5D07B24485} = {F2D07126-17F2-4EBE-910D-B3838DA7C6D3}
134+
{E4AFB41C-DDBB-44AD-9D64-304B7FEE66C9} = {F2D07126-17F2-4EBE-910D-B3838DA7C6D3}
135+
{DB53264C-64AD-4B43-91A9-F5325561C77B} = {F2D07126-17F2-4EBE-910D-B3838DA7C6D3}
136+
{54057AFD-35E2-48C3-8419-45D57C351C1F} = {F2D07126-17F2-4EBE-910D-B3838DA7C6D3}
137+
{2B42AA12-DD23-4EB8-A1CD-5D0F4B772895} = {F2D07126-17F2-4EBE-910D-B3838DA7C6D3}
138+
{DF63551E-BB6C-4A8D-9B01-DB94F721E74A} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
139+
{61BE8DBC-149A-4564-B891-9EEA4A09ED12} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
140+
{7520CE0B-F1D4-4148-8427-BB03669D7672} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
141+
{301EF496-ED72-4448-A98E-A60D6BF6E0AE} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
142+
{CE0CEA62-CC91-4D17-BC57-A5FCACCA6A1F} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
143+
{12C2AD0C-B815-426D-AFF1-7787C2DCA0F0} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
144+
{90E83588-261C-45A3-964F-4B707357D437} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
145+
{4C2CF0B1-FA7B-4FB6-83BA-24A9549AAB02} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
146+
{DE6AA83B-1EFA-41B0-85D9-49DA1B0202BC} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
147+
{F356B460-0DEA-4F7D-9CD8-7475B9BEC1F7} = {07E37AC9-4F01-4D1D-B5CB-6524CA36D22A}
148+
EndGlobalSection
149+
EndGlobal

ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32

43
[assembly: AssemblyTitle("CreateZipFile")]
54
[assembly: AssemblyDescription("Free C# IDE")]

ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/Main.cs renamed to ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile/CreateZipFile.cs

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,24 @@
2727

2828
using System;
2929
using System.IO;
30-
3130
using ICSharpCode.SharpZipLib.Zip;
3231

33-
class MainClass
32+
class CreateZipFile
3433
{
3534

3635
public static void Main(string[] args)
3736
{
3837
// Perform some simple parameter checking. More could be done
3938
// like checking the target file name is ok, disk space, and lots
4039
// of other things, but for a demo this covers some obvious traps.
41-
if ( args.Length < 2 ) {
40+
if (args.Length < 2)
41+
{
4242
Console.WriteLine("Usage: CreateZipFile Path ZipFile");
4343
return;
4444
}
4545

46-
if ( !Directory.Exists(args[0]) ) {
46+
if (!Directory.Exists(args[0]))
47+
{
4748
Console.WriteLine("Cannot find directory '{0}'", args[0]);
4849
return;
4950
}
@@ -56,13 +57,15 @@ public static void Main(string[] args)
5657

5758
// 'using' statements guarantee the stream is closed properly which is a big source
5859
// of problems otherwise. Its exception safe as well which is great.
59-
using (ZipOutputStream s = new ZipOutputStream(File.Create(args[1]))) {
60+
using (ZipOutputStream s = new ZipOutputStream(File.Create(args[1])))
61+
{
6062

6163
s.SetLevel(9); // 0 - store only to 9 - means best compression
6264

6365
byte[] buffer = new byte[4096];
6466

65-
foreach (string file in filenames) {
67+
foreach (string file in filenames)
68+
{
6669

6770
// Using GetFileName makes the result compatible with XP
6871
// as the resulting path is not absolute.
@@ -77,15 +80,17 @@ public static void Main(string[] args)
7780
entry.DateTime = DateTime.Now;
7881
s.PutNextEntry(entry);
7982

80-
using ( FileStream fs = File.OpenRead(file) ) {
83+
using (FileStream fs = File.OpenRead(file))
84+
{
8185

8286
// Using a fixed size buffer here makes no noticeable difference for output
8387
// but keeps a lid on memory usage.
8488
int sourceBytes;
85-
do {
89+
do
90+
{
8691
sourceBytes = fs.Read(buffer, 0, buffer.Length);
8792
s.Write(buffer, 0, sourceBytes);
88-
} while ( sourceBytes > 0 );
93+
} while (sourceBytes > 0);
8994
}
9095
}
9196

@@ -99,7 +104,7 @@ public static void Main(string[] args)
99104
s.Close();
100105
}
101106
}
102-
catch(Exception ex)
107+
catch (Exception ex)
103108
{
104109
Console.WriteLine("Exception during processing {0}", ex);
105110

Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,71 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" xmlns:Conversion="urn:Conversion">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" xmlns:Conversion="urn:Conversion" ToolsVersion="14.0">
23
<PropertyGroup>
34
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
45
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
56
<SchemaVersion>2.0</SchemaVersion>
67
<ProjectGuid>{DF63551E-BB6C-4A8D-9B01-DB94F721E74A}</ProjectGuid>
7-
<RootNamespace>NewProject</RootNamespace>
8+
<RootNamespace>ICSharpCode.SharpZipLib.Samples</RootNamespace>
89
<AssemblyName>CreateZipFile</AssemblyName>
910
<OutputType>Exe</OutputType>
1011
<ApplicationIcon />
1112
<WarningLevel>4</WarningLevel>
12-
<StartupObject />
13+
<StartupObject>CreateZipFile</StartupObject>
1314
<NoStdLib>False</NoStdLib>
1415
<NoConfig>False</NoConfig>
1516
<RunPostBuildEvent>OnSuccessfulBuild</RunPostBuildEvent>
1617
<PreBuildEvent />
1718
<PostBuildEvent />
19+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
20+
<FileUpgradeFlags>
21+
</FileUpgradeFlags>
22+
<UpgradeBackupLocation>
23+
</UpgradeBackupLocation>
24+
<OldToolsVersion>2.0</OldToolsVersion>
25+
<TargetFrameworkProfile />
26+
<IsWebBootstrapper>false</IsWebBootstrapper>
27+
<PublishUrl>publish\</PublishUrl>
28+
<Install>true</Install>
29+
<InstallFrom>Disk</InstallFrom>
30+
<UpdateEnabled>false</UpdateEnabled>
31+
<UpdateMode>Foreground</UpdateMode>
32+
<UpdateInterval>7</UpdateInterval>
33+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
34+
<UpdatePeriodically>false</UpdatePeriodically>
35+
<UpdateRequired>false</UpdateRequired>
36+
<MapFileExtensions>true</MapFileExtensions>
37+
<ApplicationRevision>0</ApplicationRevision>
38+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
39+
<UseApplicationTrust>false</UseApplicationTrust>
40+
<BootstrapperEnabled>true</BootstrapperEnabled>
1841
</PropertyGroup>
1942
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2043
<DebugSymbols>true</DebugSymbols>
21-
<Optimize>True</Optimize>
44+
<Optimize>false</Optimize>
2245
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
2346
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
24-
<OutputPath>bin\</OutputPath>
47+
<OutputPath>bin\Debug\</OutputPath>
2548
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
2649
<DebugType>Full</DebugType>
50+
<Prefer32Bit>false</Prefer32Bit>
51+
<DefineConstants>TRACE;DEBUG</DefineConstants>
52+
<DocumentationFile>bin\Debug\CreateZipFile.XML</DocumentationFile>
53+
<ErrorReport>prompt</ErrorReport>
54+
<RunCodeAnalysis>true</RunCodeAnalysis>
55+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
2756
</PropertyGroup>
2857
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2958
<DebugSymbols>True</DebugSymbols>
3059
<Optimize>True</Optimize>
3160
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
3261
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
33-
<OutputPath>\</OutputPath>
62+
<OutputPath>bin\Release\</OutputPath>
3463
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
64+
<Prefer32Bit>false</Prefer32Bit>
65+
<DocumentationFile>bin\Release\CreateZipFile.XML</DocumentationFile>
66+
<ErrorReport>prompt</ErrorReport>
67+
<DebugType>pdbonly</DebugType>
68+
<RunCodeAnalysis>true</RunCodeAnalysis>
3569
</PropertyGroup>
3670
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
3771
<RegisterForComInterop>False</RegisterForComInterop>
@@ -47,15 +81,26 @@
4781
<ItemGroup>
4882
<Reference Include="System" />
4983
<Reference Include="ICSharpCode.SharpZipLib">
50-
<HintPath>..\..\..\bin\ICSharpCode.SharpZipLib.dll</HintPath>
84+
<HintPath>..\..\..\bin\Debug\ICSharpCode.SharpZipLib.dll</HintPath>
5185
<Private>True</Private>
5286
</Reference>
5387
</ItemGroup>
5488
<ItemGroup>
55-
<Compile Include="Main.cs" />
89+
<Compile Include="CreateZipFile.cs" />
5690
<Compile Include="AssemblyInfo.cs" />
5791
</ItemGroup>
58-
<ItemGroup />
59-
<ItemGroup />
92+
<ItemGroup>
93+
<None Include="app.config" />
94+
</ItemGroup>
95+
<ItemGroup>
96+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
97+
<Visible>False</Visible>
98+
<ProductName>.NET Framework 3.5 SP1</ProductName>
99+
<Install>true</Install>
100+
</BootstrapperPackage>
101+
</ItemGroup>
102+
<ItemGroup>
103+
<Content Include="readme.txt" />
104+
</ItemGroup>
60105
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
61106
</Project>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
5+
</startup>
6+
</configuration>

0 commit comments

Comments
 (0)