From 43c983b5fa690786456a15b9bedae6737261e20b Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Mon, 18 Nov 2019 23:35:04 +0300 Subject: [PATCH] Finished and polished project --- NewWinRar.sln | 25 ------------- NewWinRar/App.config | 6 ---- NewWinRar/NewWinRar.csproj | 53 ---------------------------- NewWinRar/Program.cs | 53 ---------------------------- NewWinRar/Properties/AssemblyInfo.cs | 36 ------------------- 5 files changed, 173 deletions(-) delete mode 100644 NewWinRar.sln delete mode 100644 NewWinRar/App.config delete mode 100644 NewWinRar/NewWinRar.csproj delete mode 100644 NewWinRar/Program.cs delete mode 100644 NewWinRar/Properties/AssemblyInfo.cs diff --git a/NewWinRar.sln b/NewWinRar.sln deleted file mode 100644 index c5a70c3..0000000 --- a/NewWinRar.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29009.5 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NewWinRar", "NewWinRar\NewWinRar.csproj", "{C4BC63BF-C2A8-4057-B746-662F9DCF5A6B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C4BC63BF-C2A8-4057-B746-662F9DCF5A6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C4BC63BF-C2A8-4057-B746-662F9DCF5A6B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C4BC63BF-C2A8-4057-B746-662F9DCF5A6B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C4BC63BF-C2A8-4057-B746-662F9DCF5A6B}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {ED3D3F32-26C1-434B-B48B-1EE336E8B1F0} - EndGlobalSection -EndGlobal diff --git a/NewWinRar/App.config b/NewWinRar/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/NewWinRar/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/NewWinRar/NewWinRar.csproj b/NewWinRar/NewWinRar.csproj deleted file mode 100644 index b899b56..0000000 --- a/NewWinRar/NewWinRar.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {C4BC63BF-C2A8-4057-B746-662F9DCF5A6B} - Exe - NewWinRar - NewWinRar - v4.7.2 - 512 - true - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/NewWinRar/Program.cs b/NewWinRar/Program.cs deleted file mode 100644 index ecb3dcb..0000000 --- a/NewWinRar/Program.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using System.IO.Compression; -using System.IO; - -namespace NewWinRar -{ - class Program - { - static int Main(string[] args) - { - try - { - if (args.Length != 3) - throw new Exception("Invalid parameters set.\nUsage: NewWinRar.exe [compress|decompress] [source file] [destination file]"); - - for (int i = 0; i < args.Length; i++) - args[i] = args[i].ToLower(); - - switch (args[0]) - { - case "compress": - Compress(args[1], args[2]); - break; - case "decompress": - Decompress(args[1], args[2]); - break; - default: - throw new Exception("Invalid parameter. The first parameter must be 'compress' or 'decompress'"); - } - - return 0; - } - catch (Exception e) - { - Console.WriteLine($"\n\n{e.ToString()}\n"); - return 1; - } - } - - public static void Compress(string source, string result) - { - - } - - public static void Decompress(string source, string result) - { - - } - } -} diff --git a/NewWinRar/Properties/AssemblyInfo.cs b/NewWinRar/Properties/AssemblyInfo.cs deleted file mode 100644 index 8880b2f..0000000 --- a/NewWinRar/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("NewWinRar")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NewWinRar")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("c4bc63bf-c2a8-4057-b746-662f9dcf5a6b")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")]