From 7598c9a155da14d4ba978d65a398a07af3b4213b Mon Sep 17 00:00:00 2001 From: Arci Date: Thu, 7 Jun 2018 20:37:14 +0200 Subject: [PATCH] Removed explicit target frameworks and created .Net Standard 2.0 instead --- .../Arci.Networking.NetCore.csproj | 38 ----- .../Properties/AssemblyInfo.cs | 19 --- .../Arci.Networking.Tests.NetCore.csproj | 12 +- .../Arci.Networking.Tests.UAP.csproj | 43 +++-- ...Arci.Networking.Tests.UAP_TemporaryKey.pfx | Bin 2452 -> 2512 bytes .../BuilderTests/PacketBuilderTests.cs | 42 +++++ .../EncryptionTests/AesTests.cs | 4 +- .../EncryptionTests/RsaTests.cs | 4 +- .../Package.appxmanifest | 13 +- .../Properties/AssemblyInfo.cs | 18 +- Arci.Networking.Tests.UAP/project.json | 18 -- .../Arci.Networking.Tests.csproj | 2 +- .../Properties/AssemblyInfo.cs | 4 +- .../Arci.Networking.UAP.csproj | 161 ------------------ .../Properties/Arci.Networking.UAP.rd.xml | 33 ---- .../Properties/AssemblyInfo.cs | 29 ---- Arci.Networking.UAP/project.json | 17 -- Arci.Networking.sln | 117 +++++-------- Arci.Networking/Arci.Networking.csproj | 109 ++++-------- Arci.Networking/Properties/AssemblyInfo.cs | 36 ---- ClientSample/ClientSample.csproj | 2 +- ClientSample/Program.cs | 2 - README.md | 5 +- ServerSample/ServerSample.csproj | 2 +- 24 files changed, 167 insertions(+), 563 deletions(-) delete mode 100644 Arci.Networking.NetCore/Arci.Networking.NetCore.csproj delete mode 100644 Arci.Networking.NetCore/Properties/AssemblyInfo.cs create mode 100644 Arci.Networking.Tests.UAP/BuilderTests/PacketBuilderTests.cs delete mode 100644 Arci.Networking.Tests.UAP/project.json delete mode 100644 Arci.Networking.UAP/Arci.Networking.UAP.csproj delete mode 100644 Arci.Networking.UAP/Properties/Arci.Networking.UAP.rd.xml delete mode 100644 Arci.Networking.UAP/Properties/AssemblyInfo.cs delete mode 100644 Arci.Networking.UAP/project.json delete mode 100644 Arci.Networking/Properties/AssemblyInfo.cs diff --git a/Arci.Networking.NetCore/Arci.Networking.NetCore.csproj b/Arci.Networking.NetCore/Arci.Networking.NetCore.csproj deleted file mode 100644 index f5d575e..0000000 --- a/Arci.Networking.NetCore/Arci.Networking.NetCore.csproj +++ /dev/null @@ -1,38 +0,0 @@ - - - - 1.4.2 - netstandard1.6;netcoreapp1.0 - true - Arci.Networking.NetCore - Arci.Networking.NetCore - 1.6.0 - false - false - false - 1.5.0 - Copyright © 2018 - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Arci.Networking.NetCore/Properties/AssemblyInfo.cs b/Arci.Networking.NetCore/Properties/AssemblyInfo.cs deleted file mode 100644 index f8b0336..0000000 --- a/Arci.Networking.NetCore/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,19 +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: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Arci.Networking.NetCore")] -[assembly: AssemblyTrademark("")] - -// 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("7b311fdf-f482-4e76-8c3f-1c99b2dccb13")] diff --git a/Arci.Networking.Tests.NetCore/Arci.Networking.Tests.NetCore.csproj b/Arci.Networking.Tests.NetCore/Arci.Networking.Tests.NetCore.csproj index a867520..cd04669 100644 --- a/Arci.Networking.Tests.NetCore/Arci.Networking.Tests.NetCore.csproj +++ b/Arci.Networking.Tests.NetCore/Arci.Networking.Tests.NetCore.csproj @@ -2,7 +2,7 @@ 1.4.2 - netcoreapp1.0 + netcoreapp2.0 Arci.Networking.Tests.NetCore Arci.Networking.Tests.NetCore true @@ -10,20 +10,20 @@ false false false - 1.5.0 + 1.6.0 Copyright © 2018 - - - - + + + + diff --git a/Arci.Networking.Tests.UAP/Arci.Networking.Tests.UAP.csproj b/Arci.Networking.Tests.UAP/Arci.Networking.Tests.UAP.csproj index f9351d6..ce495a9 100644 --- a/Arci.Networking.Tests.UAP/Arci.Networking.Tests.UAP.csproj +++ b/Arci.Networking.Tests.UAP/Arci.Networking.Tests.UAP.csproj @@ -4,20 +4,20 @@ Debug x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD} + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139} AppContainerExe Properties Arci.Networking.Tests.UAP Arci.Networking.Tests.UAP en-US UAP - 10.0.14393.0 - 10.0.10586.0 - 14 + 10.0.17134.0 + 10.0.17134.0 + 15 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Arci.Networking.Tests.UAP_TemporaryKey.pfx - 14.0 + $(VisualStudioVersion) true @@ -88,16 +88,14 @@ true true + + PackageReference + - - - - - BuilderTests\PacketBuilderTests.cs - + @@ -129,16 +127,25 @@ - - {7cc530c7-a1e3-4f09-b782-75849ff52b72} - Arci.Networking.UAP - + + 6.1.5 + + + 1.3.2 + + + 1.3.2 + - + + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB} + Arci.Networking + - - 14.0 + + + 15.0 - - - - - Builder\PacketBuilder.cs - - - Builder\PacketBuilderTemplate.cs - - - Client.cs - - - Data\ByteBuffer.cs - - - Data\ByteBufferGenericTemplate.cs - - - Data\Packet.cs - - - Data\PacketGuid.cs - - - Security\AesEncryptor.cs - - - Security\AesOptions\AesEncryptionType.cs - - - Security\ISymmetricEncryptor.cs - - - Security\RsaEncryptor.cs - - - Server.cs - - - - - - 14.0 - - - - \ No newline at end of file diff --git a/Arci.Networking.UAP/Properties/Arci.Networking.UAP.rd.xml b/Arci.Networking.UAP/Properties/Arci.Networking.UAP.rd.xml deleted file mode 100644 index 1bd01e1..0000000 --- a/Arci.Networking.UAP/Properties/Arci.Networking.UAP.rd.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - diff --git a/Arci.Networking.UAP/Properties/AssemblyInfo.cs b/Arci.Networking.UAP/Properties/AssemblyInfo.cs deleted file mode 100644 index 0b4de6c..0000000 --- a/Arci.Networking.UAP/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,29 +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("Arci.Networking.UAP")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Arci.Networking.UAP")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 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.5.0.0")] -[assembly: AssemblyFileVersion("1.5.0.0")] -[assembly: ComVisible(false)] \ No newline at end of file diff --git a/Arci.Networking.UAP/project.json b/Arci.Networking.UAP/project.json deleted file mode 100644 index 33cf3fc..0000000 --- a/Arci.Networking.UAP/project.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2", - "System.Security.Cryptography.Algorithms": "4.3.0" - }, - "frameworks": { - "uap10.0": {} - }, - "runtimes": { - "win10-arm": {}, - "win10-arm-aot": {}, - "win10-x86": {}, - "win10-x86-aot": {}, - "win10-x64": {}, - "win10-x64-aot": {} - } -} \ No newline at end of file diff --git a/Arci.Networking.sln b/Arci.Networking.sln index b996c38..01c2195 100644 --- a/Arci.Networking.sln +++ b/Arci.Networking.sln @@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26228.4 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arci.Networking", "Arci.Networking\Arci.Networking.csproj", "{ED123DC2-0A2C-4B87-B723-23AAD065D518}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientSample", "ClientSample\ClientSample.csproj", "{0E9D98C8-667E-4790-AF3C-2D485EBECAE5}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerSample", "ServerSample\ServerSample.csproj", "{6699AA72-7048-4CAD-9E71-EB71425003EF}" @@ -13,13 +11,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared", "Shared\Shared.csp EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arci.Networking.Tests", "Arci.Networking.Tests\Arci.Networking.Tests.csproj", "{D62482C6-AF88-4BD9-97CB-CC22BDF1EA12}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Arci.Networking.NetCore", "Arci.Networking.NetCore\Arci.Networking.NetCore.csproj", "{7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arci.Networking.UAP", "Arci.Networking.UAP\Arci.Networking.UAP.csproj", "{7CC530C7-A1E3-4F09-B782-75849FF52B72}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Arci.Networking.Tests.NetCore", "Arci.Networking.Tests.NetCore\Arci.Networking.Tests.NetCore.csproj", "{8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arci.Networking.Tests.UAP", "Arci.Networking.Tests.UAP\Arci.Networking.Tests.UAP.csproj", "{A12A315E-5108-4B08-AA79-82BEBE9832AD}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Arci.Networking", "Arci.Networking\Arci.Networking.csproj", "{1F9C6F0F-358B-4487-83D8-40677D6FC3AB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arci.Networking.Tests.UAP", "Arci.Networking.Tests.UAP\Arci.Networking.Tests.UAP.csproj", "{8EE20DE3-C2B0-43A9-9638-F17BB22AB139}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -33,22 +29,6 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|Any CPU.Build.0 = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|ARM.ActiveCfg = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|ARM.Build.0 = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|x64.ActiveCfg = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|x64.Build.0 = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|x86.ActiveCfg = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Debug|x86.Build.0 = Debug|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|Any CPU.Build.0 = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|ARM.ActiveCfg = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|ARM.Build.0 = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|x64.ActiveCfg = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|x64.Build.0 = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|x86.ActiveCfg = Release|Any CPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518}.Release|x86.Build.0 = Release|Any CPU {0E9D98C8-667E-4790-AF3C-2D485EBECAE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0E9D98C8-667E-4790-AF3C-2D485EBECAE5}.Debug|Any CPU.Build.0 = Debug|Any CPU {0E9D98C8-667E-4790-AF3C-2D485EBECAE5}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -113,38 +93,6 @@ Global {D62482C6-AF88-4BD9-97CB-CC22BDF1EA12}.Release|x64.Build.0 = Release|Any CPU {D62482C6-AF88-4BD9-97CB-CC22BDF1EA12}.Release|x86.ActiveCfg = Release|Any CPU {D62482C6-AF88-4BD9-97CB-CC22BDF1EA12}.Release|x86.Build.0 = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|ARM.ActiveCfg = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|ARM.Build.0 = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|x64.ActiveCfg = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|x64.Build.0 = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|x86.ActiveCfg = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Debug|x86.Build.0 = Debug|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|Any CPU.Build.0 = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|ARM.ActiveCfg = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|ARM.Build.0 = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|x64.ActiveCfg = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|x64.Build.0 = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|x86.ActiveCfg = Release|Any CPU - {7B311FDF-F482-4E76-8C3F-1C99B2DCCB13}.Release|x86.Build.0 = Release|Any CPU - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|ARM.ActiveCfg = Debug|ARM - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|ARM.Build.0 = Debug|ARM - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|x64.ActiveCfg = Debug|x64 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|x64.Build.0 = Debug|x64 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|x86.ActiveCfg = Debug|x86 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Debug|x86.Build.0 = Debug|x86 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|Any CPU.Build.0 = Release|Any CPU - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|ARM.ActiveCfg = Release|ARM - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|ARM.Build.0 = Release|ARM - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|x64.ActiveCfg = Release|x64 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|x64.Build.0 = Release|x64 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|x86.ActiveCfg = Release|x86 - {7CC530C7-A1E3-4F09-B782-75849FF52B72}.Release|x86.Build.0 = Release|x86 {8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}.Debug|Any CPU.Build.0 = Debug|Any CPU {8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -161,28 +109,47 @@ Global {8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}.Release|x64.Build.0 = Release|Any CPU {8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}.Release|x86.ActiveCfg = Release|Any CPU {8D88C09F-D395-4B7D-9ED1-CA3C8235FDA4}.Release|x86.Build.0 = Release|Any CPU - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|Any CPU.ActiveCfg = Debug|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|ARM.ActiveCfg = Debug|ARM - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|ARM.Build.0 = Debug|ARM - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|ARM.Deploy.0 = Debug|ARM - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|x64.ActiveCfg = Debug|x64 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|x64.Build.0 = Debug|x64 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|x64.Deploy.0 = Debug|x64 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|x86.ActiveCfg = Debug|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|x86.Build.0 = Debug|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Debug|x86.Deploy.0 = Debug|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|Any CPU.ActiveCfg = Release|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|ARM.ActiveCfg = Release|ARM - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|ARM.Build.0 = Release|ARM - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|ARM.Deploy.0 = Release|ARM - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|x64.ActiveCfg = Release|x64 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|x64.Build.0 = Release|x64 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|x64.Deploy.0 = Release|x64 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|x86.ActiveCfg = Release|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|x86.Build.0 = Release|x86 - {A12A315E-5108-4B08-AA79-82BEBE9832AD}.Release|x86.Deploy.0 = Release|x86 + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|ARM.ActiveCfg = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|ARM.Build.0 = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|x64.ActiveCfg = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|x64.Build.0 = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|x86.ActiveCfg = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Debug|x86.Build.0 = Debug|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|Any CPU.Build.0 = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|ARM.ActiveCfg = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|ARM.Build.0 = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|x64.ActiveCfg = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|x64.Build.0 = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|x86.ActiveCfg = Release|Any CPU + {1F9C6F0F-358B-4487-83D8-40677D6FC3AB}.Release|x86.Build.0 = Release|Any CPU + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|Any CPU.ActiveCfg = Debug|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|ARM.ActiveCfg = Debug|ARM + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|ARM.Build.0 = Debug|ARM + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|ARM.Deploy.0 = Debug|ARM + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|x64.ActiveCfg = Debug|x64 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|x64.Build.0 = Debug|x64 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|x64.Deploy.0 = Debug|x64 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|x86.ActiveCfg = Debug|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|x86.Build.0 = Debug|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Debug|x86.Deploy.0 = Debug|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|Any CPU.ActiveCfg = Release|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|ARM.ActiveCfg = Release|ARM + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|ARM.Build.0 = Release|ARM + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|ARM.Deploy.0 = Release|ARM + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|x64.ActiveCfg = Release|x64 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|x64.Build.0 = Release|x64 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|x64.Deploy.0 = Release|x64 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|x86.ActiveCfg = Release|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|x86.Build.0 = Release|x86 + {8EE20DE3-C2B0-43A9-9638-F17BB22AB139}.Release|x86.Deploy.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B7769AC6-7029-4014-819E-AE8B02CB42AE} + EndGlobalSection EndGlobal diff --git a/Arci.Networking/Arci.Networking.csproj b/Arci.Networking/Arci.Networking.csproj index 4564e97..a0b76d4 100644 --- a/Arci.Networking/Arci.Networking.csproj +++ b/Arci.Networking/Arci.Networking.csproj @@ -1,90 +1,45 @@ - - - + + - Debug - AnyCPU - {ED123DC2-0A2C-4B87-B723-23AAD065D518} - Library - Properties - Arci.Networking - Arci.Networking - v4.6.1 - 512 - + netstandard2.0 + 1.6.0 + 1.6.0.0 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false + + + bin\Debug\netstandard2.0\Arci.Networking.xml - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - bin\Release\Arci.Networking.XML + + + bin\Release\netstandard2.0\Arci.Networking.xml + - - - - - - - - + + TextTemplatingFileGenerator + PacketBuilderTemplate.cs + + + TextTemplatingFileGenerator + ByteBufferGenericTemplate.cs + + - - - PacketBuilderTemplate.tt - True + + + + + True - - True + PacketBuilderTemplate.tt + + True + True ByteBufferGenericTemplate.tt - - - - - - - - - - - - - - TextTemplatingFileGenerator - PacketBuilderTemplate.cs - - - TextTemplatingFileGenerator - ByteBufferGenericTemplate.cs - - - - - - - \ No newline at end of file + + diff --git a/Arci.Networking/Properties/AssemblyInfo.cs b/Arci.Networking/Properties/AssemblyInfo.cs deleted file mode 100644 index 16d9a5a..0000000 --- a/Arci.Networking/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("Arci.Networking")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Arci.Networking")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[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("ed123dc2-0a2c-4b87-b723-23aad065d518")] - -// 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.5.0.0")] -[assembly: AssemblyFileVersion("1.5.0.0")] diff --git a/ClientSample/ClientSample.csproj b/ClientSample/ClientSample.csproj index f5aea37..e7bbd10 100644 --- a/ClientSample/ClientSample.csproj +++ b/ClientSample/ClientSample.csproj @@ -52,7 +52,7 @@ - {ed123dc2-0a2c-4b87-b723-23aad065d518} + {1f9c6f0f-358b-4487-83d8-40677d6fc3ab} Arci.Networking diff --git a/ClientSample/Program.cs b/ClientSample/Program.cs index 57931b7..3602ed1 100644 --- a/ClientSample/Program.cs +++ b/ClientSample/Program.cs @@ -4,9 +4,7 @@ using Arci.Networking.Security.AesOptions; using Shared; using System; -using System.Collections.Generic; using System.Security.Cryptography; -using System.Threading; using System.Threading.Tasks; namespace ClientSample diff --git a/README.md b/README.md index 8cca9ba..9ced42f 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,4 @@ var rsaDecryptedValue = rsa.Decrypt(rsaEncryptedValue); See [Wiki](https://github.com/Arcidev/Arci.Networking/wiki) for a list of changes between versions ## Supported frameworks -- .NET 4.6.1 -- .NET Standard 1.6 -- .NET CoreApp 1.0 -- Universal Windows Platform +- .NET Standard 2.0 diff --git a/ServerSample/ServerSample.csproj b/ServerSample/ServerSample.csproj index 8d00f12..5901eb1 100644 --- a/ServerSample/ServerSample.csproj +++ b/ServerSample/ServerSample.csproj @@ -52,7 +52,7 @@ - {ed123dc2-0a2c-4b87-b723-23aad065d518} + {1f9c6f0f-358b-4487-83d8-40677d6fc3ab} Arci.Networking