From 7f10aa42d4a9e509a7840848355f13f38f51e9c0 Mon Sep 17 00:00:00 2001 From: Rodrigo Santos Date: Tue, 8 May 2018 12:40:17 -0300 Subject: [PATCH 1/2] Changing project to .Net Standard --- SimpleTCP.Tests/Properties/AssemblyInfo.cs | 36 -------- SimpleTCP.Tests/SimpleTCP.Tests.csproj | 100 ++++----------------- SimpleTCP.csproj | 15 ++++ SimpleTCP.sln | 27 +++--- SimpleTCP/Properties/AssemblyInfo.cs | 36 -------- SimpleTCP/SimpleTCP.csproj | 66 ++------------ 6 files changed, 52 insertions(+), 228 deletions(-) delete mode 100644 SimpleTCP.Tests/Properties/AssemblyInfo.cs create mode 100644 SimpleTCP.csproj delete mode 100644 SimpleTCP/Properties/AssemblyInfo.cs diff --git a/SimpleTCP.Tests/Properties/AssemblyInfo.cs b/SimpleTCP.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 0781e6b..0000000 --- a/SimpleTCP.Tests/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("SimpleTCP.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("SimpleTCP.Tests")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("c5c05beb-7275-4f35-b783-9955c8b04b81")] - -// 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/SimpleTCP.Tests/SimpleTCP.Tests.csproj b/SimpleTCP.Tests/SimpleTCP.Tests.csproj index d88a9e4..dad4de6 100644 --- a/SimpleTCP.Tests/SimpleTCP.Tests.csproj +++ b/SimpleTCP.Tests/SimpleTCP.Tests.csproj @@ -1,93 +1,23 @@ - - + + - Debug - AnyCPU - {C5C05BEB-7275-4F35-B783-9955C8B04B81} - Library - Properties - SimpleTCP.Tests - SimpleTCP.Tests - v4.5.2 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netcoreapp2.0 + + false + - + + + - - - - - - - - - - False - - - - + - - - - + + - - {c9c99f87-e188-49d2-a323-09fe79f39f8d} - SimpleTCP - + - - - - - False - - - False - - - False - - - False - - - - - - - - \ No newline at end of file + + diff --git a/SimpleTCP.csproj b/SimpleTCP.csproj new file mode 100644 index 0000000..5658157 --- /dev/null +++ b/SimpleTCP.csproj @@ -0,0 +1,15 @@ + + + + netcoreapp2.0 + + false + + + + + + + + + diff --git a/SimpleTCP.sln b/SimpleTCP.sln index ca3fe2a..add1911 100644 --- a/SimpleTCP.sln +++ b/SimpleTCP.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2036 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleTCP", "SimpleTCP\SimpleTCP.csproj", "{C9C99F87-E188-49D2-A323-09FE79F39F8D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleTCP", "SimpleTCP\SimpleTCP.csproj", "{6CADF03F-F6DA-4363-A6F2-8CE8E26C0C28}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleTCP.Tests", "SimpleTCP.Tests\SimpleTCP.Tests.csproj", "{C5C05BEB-7275-4F35-B783-9955C8B04B81}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleTCP.Tests", "SimpleTCP.Tests\SimpleTCP.Tests.csproj", "{83A41403-13CB-4B80-9985-35B02597376F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -13,16 +13,19 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C9C99F87-E188-49D2-A323-09FE79F39F8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C9C99F87-E188-49D2-A323-09FE79F39F8D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C9C99F87-E188-49D2-A323-09FE79F39F8D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C9C99F87-E188-49D2-A323-09FE79F39F8D}.Release|Any CPU.Build.0 = Release|Any CPU - {C5C05BEB-7275-4F35-B783-9955C8B04B81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C5C05BEB-7275-4F35-B783-9955C8B04B81}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C5C05BEB-7275-4F35-B783-9955C8B04B81}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C5C05BEB-7275-4F35-B783-9955C8B04B81}.Release|Any CPU.Build.0 = Release|Any CPU + {6CADF03F-F6DA-4363-A6F2-8CE8E26C0C28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6CADF03F-F6DA-4363-A6F2-8CE8E26C0C28}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6CADF03F-F6DA-4363-A6F2-8CE8E26C0C28}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6CADF03F-F6DA-4363-A6F2-8CE8E26C0C28}.Release|Any CPU.Build.0 = Release|Any CPU + {83A41403-13CB-4B80-9985-35B02597376F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83A41403-13CB-4B80-9985-35B02597376F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83A41403-13CB-4B80-9985-35B02597376F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83A41403-13CB-4B80-9985-35B02597376F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B9A551E4-B965-45E6-B6E1-8627E523F3B3} + EndGlobalSection EndGlobal diff --git a/SimpleTCP/Properties/AssemblyInfo.cs b/SimpleTCP/Properties/AssemblyInfo.cs deleted file mode 100644 index 174513e..0000000 --- a/SimpleTCP/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("SimpleTCP")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("SimpleTCP")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("c9c99f87-e188-49d2-a323-09fe79f39f8d")] - -// 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/SimpleTCP/SimpleTCP.csproj b/SimpleTCP/SimpleTCP.csproj index bc5ae86..f98481d 100644 --- a/SimpleTCP/SimpleTCP.csproj +++ b/SimpleTCP/SimpleTCP.csproj @@ -1,63 +1,11 @@ - - - + + - Debug - AnyCPU - {C9C99F87-E188-49D2-A323-09FE79F39F8D} - Library - Properties - SimpleTCP - SimpleTCP - v4.5 - 512 - + netstandard2.0 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - + - + - - - \ No newline at end of file + + From ea9ec886239935b8ee68fef09fa17e1f8e910060 Mon Sep 17 00:00:00 2001 From: Rodrigo Santos Date: Tue, 8 May 2018 13:08:17 -0300 Subject: [PATCH 2/2] Adding target for .net 4.5 --- SimpleTCP/SimpleTCP.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleTCP/SimpleTCP.csproj b/SimpleTCP/SimpleTCP.csproj index f98481d..e86919b 100644 --- a/SimpleTCP/SimpleTCP.csproj +++ b/SimpleTCP/SimpleTCP.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;net45