From bfcb860b15848b3d7187158b88dfc9a49ccd511c Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Tue, 28 May 2019 08:44:02 -0700 Subject: [PATCH] Simplify project settings, and treat warnings as errors in release build --- src/NmeaParser/Nmea/Rte.cs | 2 +- src/NmeaParser/NmeaParser.csproj | 31 ++++++++++++------------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/src/NmeaParser/Nmea/Rte.cs b/src/NmeaParser/Nmea/Rte.cs index 1afe8ee..0ae1af8 100644 --- a/src/NmeaParser/Nmea/Rte.cs +++ b/src/NmeaParser/Nmea/Rte.cs @@ -50,7 +50,7 @@ namespace NmeaParser.Nmea } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The message type /// The NMEA message values. diff --git a/src/NmeaParser/NmeaParser.csproj b/src/NmeaParser/NmeaParser.csproj index 2a40b91..c81cbe2 100644 --- a/src/NmeaParser/NmeaParser.csproj +++ b/src/NmeaParser/NmeaParser.csproj @@ -1,7 +1,7 @@ - + - netstandard1.4;net451;monoandroid50;monoandroid70;xamarinios10;uap10.0 + netstandard1.4;net451;monoandroid50;monoandroid70;xamarinios10;uap10.0.14393 true true Debug;Release @@ -12,6 +12,7 @@ nmea winrt wpf uwp xamarin gps serialport bluetooth SharpGIS.NmeaParser 2.0-beta1 + NMEA Parser Apache-2.0 https://github.com/dotMorten/NmeaParser https://github.com/dotMorten/NmeaParser @@ -27,49 +28,41 @@ Updated license to Apache 2.0 true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb 7.3 + true + true $(DefineConstants);NETSTANDARD - NMEA Parser - .NET Standard 1.4 $(DefineConstants);NETFX - NMEA Parser - .NET Framework 4.5.1 $(DefineConstants);XAMARIN;API_LEVEL_21 - NMEA Parser - Android + $(NoWarn);XA0113;XA0114 $(DefineConstants);XAMARIN;API_LEVEL_24 - NMEA Parser - Android + $(NoWarn);XA0113;XA0114 $(DefineConstants);XAMARIN - NMEA Parser - iOS + $(NoWarn);VSX1000 - - UAP - 10.0.14393.0 - 10.0.14393.0 - NMEA Parser - UWP - + + - - - + - - + -