diff --git a/.gitignore b/.gitignore index bdc3535..ff58c92 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,5 @@ Generated_Code #added for RIA/Silverlight projects _UpgradeReport_Files/ Backup*/ UpgradeLog*.XML +Tools/Nuget/NmeaParser/lib/ +Tools/Nuget/*.nupkg diff --git a/Tools/Nuget/NmeaParser/NmeaParser.nuspec b/Tools/Nuget/NmeaParser/NmeaParser.nuspec new file mode 100644 index 0000000..41d27a6 --- /dev/null +++ b/Tools/Nuget/NmeaParser/NmeaParser.nuspec @@ -0,0 +1,23 @@ + + + + 1.0.0 + Morten Nielsen + Morten Nielsen + http://opensource.org/licenses/ms-pl.html + https://github.com/dotMorten/NmeaParser + SharpGIS.NmeaParser + NmeaParser + false + An NMEA stream parser for serial port, bluetooth and file-based nmea simulation. + en-US + nmea winrt wpf win8 win8.1 wp8.1 gps serialport bluetooth + + + + + + + + + diff --git a/Tools/Nuget/NuGet.exe b/Tools/Nuget/NuGet.exe new file mode 100644 index 0000000..c41a0d0 Binary files /dev/null and b/Tools/Nuget/NuGet.exe differ diff --git a/Tools/Nuget/buildNuget.cmd b/Tools/Nuget/buildNuget.cmd new file mode 100644 index 0000000..e027e20 --- /dev/null +++ b/Tools/Nuget/buildNuget.cmd @@ -0,0 +1,14 @@ +@echo off + +@echo ******************************************* +@echo * COPYING BINARIES FOR NUGET * +@echo ******************************************* +xcopy ..\..\src\bin\Release\NmeaParser.WinStore.dll .\NmeaParser\lib\netcore45\ /Y +xcopy ..\..\src\bin\Release\NmeaParser.WinPhone.dll .\NmeaParser\lib\wpa\ /Y +xcopy ..\..\src\bin\Release\NmeaParser.WinDesktop.dll .\NmeaParser\lib\net40-client\ /Y + + +@echo ******************************************* +@echo * BUILDING NUGET PAKCAGE * +@echo ******************************************* +nuget pack NmeaParser\NmeaParser.nuspec -o .\ diff --git a/src/NmeaParser.Shared/NmeaParser.Shared.projitems b/src/NmeaParser.Shared/NmeaParser.Shared.projitems index 085cf0b..2504439 100644 --- a/src/NmeaParser.Shared/NmeaParser.Shared.projitems +++ b/src/NmeaParser.Shared/NmeaParser.Shared.projitems @@ -24,6 +24,7 @@ + diff --git a/src/NmeaParser.WinPhone/Properties/AssemblyInfo.cs b/src/NmeaParser.Shared/Properties/AssemblyInfo.cs similarity index 89% rename from src/NmeaParser.WinPhone/Properties/AssemblyInfo.cs rename to src/NmeaParser.Shared/Properties/AssemblyInfo.cs index 9bc004b..7c4a42b 100644 --- a/src/NmeaParser.WinPhone/Properties/AssemblyInfo.cs +++ b/src/NmeaParser.Shared/Properties/AssemblyInfo.cs @@ -8,9 +8,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("NmeaParser")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("Morten Nielsen")] [assembly: AssemblyProduct("NmeaParser")] -[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyCopyright("Copyright © Morten Nielsen 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/NmeaParser.WinDesktop/NmeaParser.WinDesktop.csproj b/src/NmeaParser.WinDesktop/NmeaParser.WinDesktop.csproj index a1619bc..ab1c64b 100644 --- a/src/NmeaParser.WinDesktop/NmeaParser.WinDesktop.csproj +++ b/src/NmeaParser.WinDesktop/NmeaParser.WinDesktop.csproj @@ -32,15 +32,11 @@ - - - - - + diff --git a/src/NmeaParser.WinDesktop/Properties/AssemblyInfo.Desktop.cs b/src/NmeaParser.WinDesktop/Properties/AssemblyInfo.Desktop.cs new file mode 100644 index 0000000..cf139bf --- /dev/null +++ b/src/NmeaParser.WinDesktop/Properties/AssemblyInfo.Desktop.cs @@ -0,0 +1,6 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c96fd2bc-67e6-45fd-a57e-1bb8088bdc43")] diff --git a/src/NmeaParser.WinDesktop/Properties/AssemblyInfo.cs b/src/NmeaParser.WinDesktop/Properties/AssemblyInfo.cs deleted file mode 100644 index ae0c045..0000000 --- a/src/NmeaParser.WinDesktop/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("NmeaParser.WinDesktop")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NmeaParser.WinDesktop")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[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("c96fd2bc-67e6-45fd-a57e-1bb8088bdc43")] - -// 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/src/NmeaParser.WinPhone/NmeaParser.WinPhone.csproj b/src/NmeaParser.WinPhone/NmeaParser.WinPhone.csproj index 3847c49..9b48186 100644 --- a/src/NmeaParser.WinPhone/NmeaParser.WinPhone.csproj +++ b/src/NmeaParser.WinPhone/NmeaParser.WinPhone.csproj @@ -21,7 +21,7 @@ true full false - bin\Debug\ + ..\bin\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP prompt 4 @@ -29,19 +29,19 @@ pdbonly true - bin\Release\ + ..\bin\Release\ TRACE;NETFX_CORE;WINDOWS_PHONE_APP prompt 4 + BluetoothDevice.cs - diff --git a/src/NmeaParser.WinStore/NmeaParser.WinStore.csproj b/src/NmeaParser.WinStore/NmeaParser.WinStore.csproj index 64e2d3e..0eb6f8f 100644 --- a/src/NmeaParser.WinStore/NmeaParser.WinStore.csproj +++ b/src/NmeaParser.WinStore/NmeaParser.WinStore.csproj @@ -36,10 +36,10 @@ + - 12.0 diff --git a/src/NmeaParser.WinStore/Properties/AssemblyInfo.cs b/src/NmeaParser.WinStore/Properties/AssemblyInfo.cs deleted file mode 100644 index 9bc004b..0000000 --- a/src/NmeaParser.WinStore/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("NmeaParser")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NmeaParser")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[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.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: ComVisible(false)] \ No newline at end of file