From 0456f0604679344fd3d6c5f4e2183f90f0958421 Mon Sep 17 00:00:00 2001 From: Adam Davidson Date: Sun, 21 Jan 2018 16:06:18 +0000 Subject: [PATCH 1/3] Add NuGet package configuration details for KaitaiStruct.Runtime.CSharp. --- .gitignore | 1 + Properties/AssemblyInfo.cs | 18 +++++++----------- kaitai_struct_runtime_csharp.csproj | 11 +++++++---- kaitai_struct_runtime_csharp.nuspec | 18 ++++++++++++++++++ 4 files changed, 33 insertions(+), 15 deletions(-) create mode 100644 kaitai_struct_runtime_csharp.nuspec diff --git a/.gitignore b/.gitignore index 67acbf4..b8435d2 100644 --- a/.gitignore +++ b/.gitignore @@ -251,3 +251,4 @@ paket-files/ # JetBrains Rider .idea/ *.sln.iml +/nuget.exe diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 8305cc6..ea22170 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -4,20 +4,16 @@ using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. -[assembly: AssemblyTitle("kaitai_struct_runtime_csharp")] -[assembly: AssemblyDescription("")] +// NOTE: These attributes are used in the kaitai_struct_runtime_csharp.nuspec NuGet package config file. +[assembly: AssemblyTitle("KaitaiStruct.Runtime.CSharp")] +[assembly: AssemblyDescription("This library implements Kaitai Struct API for C#.")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("Kaitai Project")] +[assembly: AssemblyCompany("Kaitai Project")] +[assembly: AssemblyProduct("Kaitai Struct Runtime")] +[assembly: AssemblyCopyright("Copyright © Kaitai Project 2016-2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("0.7.0.0")] // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. diff --git a/kaitai_struct_runtime_csharp.csproj b/kaitai_struct_runtime_csharp.csproj index 4fca35b..fa4915c 100644 --- a/kaitai_struct_runtime_csharp.csproj +++ b/kaitai_struct_runtime_csharp.csproj @@ -1,12 +1,12 @@ - + - Debug + Release AnyCPU {8339A750-C407-4CE8-8E31-51CB2EFD3A4B} Library - kaitai_struct_runtime_csharp - kaitai_struct_runtime_csharp + KaitaiStruct + KaitaiStruct.Runtime.CSharp v4.5 @@ -35,5 +35,8 @@ + + + \ No newline at end of file diff --git a/kaitai_struct_runtime_csharp.nuspec b/kaitai_struct_runtime_csharp.nuspec new file mode 100644 index 0000000..ea06631 --- /dev/null +++ b/kaitai_struct_runtime_csharp.nuspec @@ -0,0 +1,18 @@ + + + + $id$ + $version$ + $title$ + $author$ + $author$ + https://github.com/kaitai-io/kaitai_struct_csharp_runtime/blob/master/LICENSE + http://kaitai.io/ + https://avatars2.githubusercontent.com/u/17322584?s=280&v=4 + false + $description$ + Initial NuGet release. + $copyright$ + Kaitai Struct File-Format Binary Protocols + + \ No newline at end of file From 9b4585469a5a87531219c4ad0b86439f292703bd Mon Sep 17 00:00:00 2001 From: Adam Davidson Date: Mon, 22 Jan 2018 16:46:02 +0000 Subject: [PATCH 2/3] Update assembly name to Kaitai.Struct.Runtime. Update default namespace to Kaitai. Generate XML documentation for project nuget. --- Properties/AssemblyInfo.cs | 2 +- kaitai_struct_runtime_csharp.csproj | 5 +++-- kaitai_struct_runtime_csharp.nuspec | 5 ++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index ea22170..eb0def8 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -5,7 +5,7 @@ using System.Runtime.CompilerServices; // Change them to the values specific to your project. // NOTE: These attributes are used in the kaitai_struct_runtime_csharp.nuspec NuGet package config file. -[assembly: AssemblyTitle("KaitaiStruct.Runtime.CSharp")] +[assembly: AssemblyTitle("Kaitai.Struct.Runtime")] [assembly: AssemblyDescription("This library implements Kaitai Struct API for C#.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Kaitai Project")] diff --git a/kaitai_struct_runtime_csharp.csproj b/kaitai_struct_runtime_csharp.csproj index fa4915c..1ae4432 100644 --- a/kaitai_struct_runtime_csharp.csproj +++ b/kaitai_struct_runtime_csharp.csproj @@ -5,8 +5,8 @@ AnyCPU {8339A750-C407-4CE8-8E31-51CB2EFD3A4B} Library - KaitaiStruct - KaitaiStruct.Runtime.CSharp + Kaitai + Kaitai.Struct.Runtime v4.5 @@ -26,6 +26,7 @@ prompt 4 false + bin\Release\Kaitai.Struct.Runtime.xml diff --git a/kaitai_struct_runtime_csharp.nuspec b/kaitai_struct_runtime_csharp.nuspec index ea06631..0a4c1c0 100644 --- a/kaitai_struct_runtime_csharp.nuspec +++ b/kaitai_struct_runtime_csharp.nuspec @@ -11,7 +11,10 @@ https://avatars2.githubusercontent.com/u/17322584?s=280&v=4 false $description$ - Initial NuGet release. + + Changed default namespace to Katai. + Changed assembly name to Kaitai.Struct.Runtime. + $copyright$ Kaitai Struct File-Format Binary Protocols From b25036f3a8a7638206c29d546f24caf80c35ec98 Mon Sep 17 00:00:00 2001 From: Adam Davidson Date: Mon, 22 Jan 2018 16:54:09 +0000 Subject: [PATCH 3/3] Correct spelling of Kaitai. --- kaitai_struct_runtime_csharp.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaitai_struct_runtime_csharp.nuspec b/kaitai_struct_runtime_csharp.nuspec index 0a4c1c0..e7687e4 100644 --- a/kaitai_struct_runtime_csharp.nuspec +++ b/kaitai_struct_runtime_csharp.nuspec @@ -12,7 +12,7 @@ false $description$ - Changed default namespace to Katai. + Changed default namespace to Kaitai. Changed assembly name to Kaitai.Struct.Runtime. $copyright$