diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..9781b48 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/ExampleCLI/ExampleCLI.csproj b/ExampleCLI/ExampleCLI.csproj index 49e786d..61d9e21 100644 --- a/ExampleCLI/ExampleCLI.csproj +++ b/ExampleCLI/ExampleCLI.csproj @@ -1,75 +1,12 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC} Exe - Properties - ExampleCLI - ExampleCLI - v4.0 - - - 512 + netcoreapp3.1 - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - AnyCPU - bin\Debug\ - - - AnyCPU - bin\Release\ - - - - - - - - - - - - - - - - - + - - {73152691-3CDE-46DF-8D04-7117747DFFE7} - NamedPipeWrapper - + - - - \ No newline at end of file + + diff --git a/ExampleCLI/MyClient.cs b/ExampleCLI/MyClient.cs index b1e8044..af2eed9 100644 --- a/ExampleCLI/MyClient.cs +++ b/ExampleCLI/MyClient.cs @@ -1,8 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NamedPipeWrapper; +using NamedPipeWrapper; +using System; namespace ExampleCLI { diff --git a/ExampleCLI/Properties/AssemblyInfo.cs b/ExampleCLI/Properties/AssemblyInfo.cs deleted file mode 100644 index 4316e2f..0000000 --- a/ExampleCLI/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("ExampleCLI")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ExampleCLI")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("db44fd8d-0c65-4758-8f92-133dd05e0491")] - -// 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")] diff --git a/ExampleCLI/app.config b/ExampleCLI/app.config new file mode 100644 index 0000000..3e0e37c --- /dev/null +++ b/ExampleCLI/app.config @@ -0,0 +1,3 @@ + + + diff --git a/ExampleGUI/ExampleGUI.csproj b/ExampleGUI/ExampleGUI.csproj index 163a9e7..59a45d6 100644 --- a/ExampleGUI/ExampleGUI.csproj +++ b/ExampleGUI/ExampleGUI.csproj @@ -1,121 +1,17 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9} WinExe - Properties - ExampleGUI - ExampleGUI - v4.0 - - - 512 + netcoreapp3.1 + true - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - AnyCPU - bin\Debug\ - - - AnyCPU - bin\Release\ - - - - - - - - - - - - - + - - - Form - - - FormClient.cs - - - Form - - - FormMain.cs - - - Form - - - FormServer.cs - - - - - FormClient.cs - - - FormMain.cs - - - FormServer.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - + + - - {73152691-3CDE-46DF-8D04-7117747DFFE7} - NamedPipeWrapper - + - - + \ No newline at end of file diff --git a/ExampleGUI/ExampleGUI.csproj.user b/ExampleGUI/ExampleGUI.csproj.user new file mode 100644 index 0000000..fe0a403 --- /dev/null +++ b/ExampleGUI/ExampleGUI.csproj.user @@ -0,0 +1,14 @@ + + + + + Form + + + Form + + + Form + + + \ No newline at end of file diff --git a/ExampleGUI/Properties/AssemblyInfo.cs b/ExampleGUI/Properties/AssemblyInfo.cs deleted file mode 100644 index bb43416..0000000 --- a/ExampleGUI/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("ExampleGUI")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ExampleGUI")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("d187744e-0432-4f8d-9c33-5ef3e20146a1")] - -// 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")] diff --git a/ExampleGUI/Properties/Resources.Designer.cs b/ExampleGUI/Properties/Resources.Designer.cs index 652ac40..6f8a88f 100644 --- a/ExampleGUI/Properties/Resources.Designer.cs +++ b/ExampleGUI/Properties/Resources.Designer.cs @@ -1,69 +1,61 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.18052 +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. // //------------------------------------------------------------------------------ -namespace ExampleGUI.Properties -{ - - +namespace ExampleGUI.Properties { + using System; + + /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder + // 클래스에서 자동으로 생성되었습니다. + // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을 + // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// - /// Returns the cached ResourceManager instance used by this class. + /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ExampleGUI.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을 + /// 재정의합니다. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/ExampleGUI/Properties/Settings.Designer.cs b/ExampleGUI/Properties/Settings.Designer.cs index a64a8b2..b6af108 100644 --- a/ExampleGUI/Properties/Settings.Designer.cs +++ b/ExampleGUI/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.18052 +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. // //------------------------------------------------------------------------------ -namespace ExampleGUI.Properties -{ - - +namespace ExampleGUI.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/ExampleGUI/app.config b/ExampleGUI/app.config new file mode 100644 index 0000000..3e0e37c --- /dev/null +++ b/ExampleGUI/app.config @@ -0,0 +1,3 @@ + + + diff --git a/NamedPipeWrapper.sln b/NamedPipeWrapper.sln index 164480a..a72bcc0 100644 --- a/NamedPipeWrapper.sln +++ b/NamedPipeWrapper.sln @@ -1,13 +1,15 @@  -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NamedPipeWrapper", "NamedPipeWrapper\NamedPipeWrapper.csproj", "{73152691-3CDE-46DF-8D04-7117747DFFE7}" +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31313.79 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NamedPipeWrapper", "NamedPipeWrapper\NamedPipeWrapper.csproj", "{5C5419EC-F790-43FD-986F-8B8BB12B9C84}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{5E77C76A-E765-445A-96E5-681CB5B9A68B}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExampleCLI", "ExampleCLI\ExampleCLI.csproj", "{CF1B34A0-974F-4E99-BB86-4637D53FA8A5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExampleCLI", "ExampleCLI\ExampleCLI.csproj", "{82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{93FF3568-7611-49C4-9234-4567C079F4F7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExampleGUI", "ExampleGUI\ExampleGUI.csproj", "{199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExampleGUI", "ExampleGUI\ExampleGUI.csproj", "{272E4AAE-255C-46AB-9A94-BCAA161591E5}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,51 +21,59 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Debug|x86.ActiveCfg = Debug|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Release|Any CPU.Build.0 = Release|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {73152691-3CDE-46DF-8D04-7117747DFFE7}.Release|x86.ActiveCfg = Release|Any CPU - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Debug|x86.ActiveCfg = Debug|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Debug|x86.Build.0 = Debug|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Release|Any CPU.ActiveCfg = Release|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Release|Mixed Platforms.Build.0 = Release|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Release|x86.ActiveCfg = Release|x86 - {5E77C76A-E765-445A-96E5-681CB5B9A68B}.Release|x86.Build.0 = Release|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Debug|x86.ActiveCfg = Debug|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Debug|x86.Build.0 = Debug|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Release|Any CPU.ActiveCfg = Release|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Release|Mixed Platforms.Build.0 = Release|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Release|x86.ActiveCfg = Release|x86 - {82BCEFD9-194E-4FF7-A28B-CA1AE2A87BAC}.Release|x86.Build.0 = Release|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Debug|x86.ActiveCfg = Debug|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Debug|x86.Build.0 = Debug|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Release|Any CPU.ActiveCfg = Release|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Release|Mixed Platforms.Build.0 = Release|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Release|x86.ActiveCfg = Release|x86 - {199E5EF6-D1FA-4662-BDD4-1D49A747AFF9}.Release|x86.Build.0 = Release|x86 + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Debug|x86.ActiveCfg = Debug|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Debug|x86.Build.0 = Debug|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Release|Any CPU.Build.0 = Release|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Release|x86.ActiveCfg = Release|Any CPU + {5C5419EC-F790-43FD-986F-8B8BB12B9C84}.Release|x86.Build.0 = Release|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Debug|x86.ActiveCfg = Debug|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Debug|x86.Build.0 = Debug|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Release|Any CPU.Build.0 = Release|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Release|x86.ActiveCfg = Release|Any CPU + {CF1B34A0-974F-4E99-BB86-4637D53FA8A5}.Release|x86.Build.0 = Release|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Debug|x86.ActiveCfg = Debug|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Debug|x86.Build.0 = Debug|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Release|Any CPU.Build.0 = Release|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Release|x86.ActiveCfg = Release|Any CPU + {93FF3568-7611-49C4-9234-4567C079F4F7}.Release|x86.Build.0 = Release|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Debug|x86.ActiveCfg = Debug|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Debug|x86.Build.0 = Debug|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Release|Any CPU.Build.0 = Release|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Release|x86.ActiveCfg = Release|Any CPU + {272E4AAE-255C-46AB-9A94-BCAA161591E5}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B07053A3-484B-4B2D-B5FC-936CB051DF7A} + EndGlobalSection EndGlobal diff --git a/NamedPipeWrapper/NamedPipeServer.cs b/NamedPipeWrapper/NamedPipeServer.cs index cae2bc0..6323219 100644 --- a/NamedPipeWrapper/NamedPipeServer.cs +++ b/NamedPipeWrapper/NamedPipeServer.cs @@ -280,7 +280,7 @@ public static NamedPipeServerStream CreateAndConnectPipe(string pipeName, PipeSe public static NamedPipeServerStream CreatePipe(string pipeName, PipeSecurity pipeSecurity) { - return new NamedPipeServerStream(pipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.Asynchronous | PipeOptions.WriteThrough, 0, 0, pipeSecurity); + return new NamedPipeServerStream(pipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.Asynchronous | PipeOptions.WriteThrough, 0, 0); } } } diff --git a/NamedPipeWrapper/NamedPipeWrapper.csproj b/NamedPipeWrapper/NamedPipeWrapper.csproj index 90ec8e9..f9377c2 100644 --- a/NamedPipeWrapper/NamedPipeWrapper.csproj +++ b/NamedPipeWrapper/NamedPipeWrapper.csproj @@ -1,62 +1,11 @@ - - + + - Debug - AnyCPU - 8.0.30703 - 2.0 - {73152691-3CDE-46DF-8D04-7117747DFFE7} - Library - Properties - NamedPipeWrapper - NamedPipeWrapper - v4.0 - 512 - SAK - SAK - SAK - SAK + netstandard2.1 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\NamedPipeWrapper.XML - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - + - - - - - - - - - + - - - - \ No newline at end of file + + diff --git a/NamedPipeWrapper/Properties/AssemblyInfo.cs b/NamedPipeWrapper/Properties/AssemblyInfo.cs deleted file mode 100644 index 2dae0fe..0000000 --- a/NamedPipeWrapper/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("Named Pipe Wrapper library")] -[assembly: AssemblyDescription("A simple, easy to use, strongly-typed wrapper around .NET named pipes.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NamedPipeWrapper")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("73e786a2-83ec-44e0-8c47-2064937d4a2e")] - -// 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.4.0.0")] -[assembly: AssemblyFileVersion("1.4.0.0")] diff --git a/UnitTests/SerializableTests.cs b/UnitTests/SerializableTests.cs index 61765cb..ff1c2e5 100644 --- a/UnitTests/SerializableTests.cs +++ b/UnitTests/SerializableTests.cs @@ -1,13 +1,13 @@ -using System; +using log4net.Appender; +using log4net.Config; +using log4net.Layout; +using NamedPipeWrapper; +using NUnit.Framework; +using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; -using NUnit.Framework; -using NamedPipeWrapper; -using log4net.Appender; -using log4net.Config; -using log4net.Layout; namespace UnitTests { diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index 677cbca..da9d695 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -1,78 +1,20 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {5E77C76A-E765-445A-96E5-681CB5B9A68B} - Library - Properties - UnitTests - UnitTests - v4.0 - - - 512 + netcoreapp3.1 + + false - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - AnyCPU - bin\Debug\ - - - AnyCPU - bin\Release\ - - - - - - - - ..\packages\log4net.2.0.2\lib\net40-full\log4net.dll - - - ..\packages\NUnit.2.6.3\lib\nunit.framework.dll - - - + - + + + + + - - {73152691-3CDE-46DF-8D04-7117747DFFE7} - NamedPipeWrapper - + - - - \ No newline at end of file + +