From 9eec00958770d8126f3f18dfd76044b6d265e37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Sun, 25 Nov 2018 13:54:47 +0100 Subject: [PATCH] Converted class library into SDK format Changed to dotnet standard 2.0 Bumped sample and test framework to compatible version --- .gitignore | 2 + .../PInvokeSerialPort.Sample.csproj | 12 ++- PInvokeSerialPort.Sample/app.config | 3 + .../PInvokeSerialPort.Test.csproj | 7 +- PInvokeSerialPort.sln | 22 +++--- PInvokeSerialPort/PInvokeSerialPort.csproj | 76 ++----------------- PInvokeSerialPort/Properties/AssemblyInfo.cs | 36 --------- 7 files changed, 38 insertions(+), 120 deletions(-) create mode 100644 PInvokeSerialPort.Sample/app.config delete mode 100755 PInvokeSerialPort/Properties/AssemblyInfo.cs diff --git a/.gitignore b/.gitignore index 73d2554..d29d198 100755 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ _ReSharper*/ *.nupkg /.vs /packages +/.tmp +*.DotSettings diff --git a/PInvokeSerialPort.Sample/PInvokeSerialPort.Sample.csproj b/PInvokeSerialPort.Sample/PInvokeSerialPort.Sample.csproj index 60b2cbb..e72e1cf 100755 --- a/PInvokeSerialPort.Sample/PInvokeSerialPort.Sample.csproj +++ b/PInvokeSerialPort.Sample/PInvokeSerialPort.Sample.csproj @@ -1,5 +1,5 @@  - + Debug x86 @@ -10,8 +10,9 @@ Properties PInvokeSerialPort.Sample PInvokeSerialPort.Sample - v4.0 - Client + v4.6.1 + + 512 @@ -23,6 +24,7 @@ DEBUG;TRACE prompt 4 + false x86 @@ -32,6 +34,7 @@ TRACE prompt 4 + false @@ -52,6 +55,9 @@ PInvokeSerialPort + + + \ No newline at end of file diff --git a/PInvokeSerialPort/Properties/AssemblyInfo.cs b/PInvokeSerialPort/Properties/AssemblyInfo.cs deleted file mode 100755 index b77a97b..0000000 --- a/PInvokeSerialPort/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("PInvokeSerialPort")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("PInvokeSerialPort")] -[assembly: AssemblyCopyright("Copyright © 2012-2017")] -[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("a9b6ec41-2cde-4cdb-bd80-3dc730bcd820")] - -// 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.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")]