diff --git a/src/NmeaParser/NmeaParser.csproj b/src/NmeaParser/NmeaParser.csproj index 3dfc483..f5995f8 100644 --- a/src/NmeaParser/NmeaParser.csproj +++ b/src/NmeaParser/NmeaParser.csproj @@ -1,7 +1,7 @@  - netstandard1.4;net451;monoandroid50;monoandroid70;xamarinios10;uap10.0.16299 + netstandard1.4;netcoreapp2.1;net451;monoandroid50;monoandroid70;xamarinios10;uap10.0.16299 true true Debug;Release @@ -66,5 +66,9 @@ - + + + + + diff --git a/src/NmeaParser/SerialPortDevice.Desktop.cs b/src/NmeaParser/SerialPortDevice.Desktop.cs index bad59e3..d1807cb 100644 --- a/src/NmeaParser/SerialPortDevice.Desktop.cs +++ b/src/NmeaParser/SerialPortDevice.Desktop.cs @@ -12,7 +12,7 @@ // * limitations under the License. // ****************************************************************************** -#if NETFX +#if NETFX || NETCOREAPP using System; using System.Collections.Generic; using System.Linq;