Skip to content

Commit

Permalink
Add NuGet package configuration details for KaitaiStruct.Runtime.CSharp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlorean committed Jan 21, 2018
1 parent bb266f3 commit 0456f06
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,4 @@ paket-files/
# JetBrains Rider
.idea/
*.sln.iml
/nuget.exe
18 changes: 7 additions & 11 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@
// 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.
Expand Down
11 changes: 7 additions & 4 deletions kaitai_struct_runtime_csharp.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8339A750-C407-4CE8-8E31-51CB2EFD3A4B}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>kaitai_struct_runtime_csharp</RootNamespace>
<AssemblyName>kaitai_struct_runtime_csharp</AssemblyName>
<RootNamespace>KaitaiStruct</RootNamespace>
<AssemblyName>KaitaiStruct.Runtime.CSharp</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -35,5 +35,8 @@
<Compile Include="KaitaiStream.cs" />
<Compile Include="KaitaiStruct.cs" />
</ItemGroup>
<ItemGroup>
<None Include="kaitai_struct_runtime_csharp.nuspec" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
18 changes: 18 additions & 0 deletions kaitai_struct_runtime_csharp.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<licenseUrl>https://github.com/kaitai-io/kaitai_struct_csharp_runtime/blob/master/LICENSE</licenseUrl>
<projectUrl>http://kaitai.io/</projectUrl>
<iconUrl>https://avatars2.githubusercontent.com/u/17322584?s=280&amp;v=4</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>Initial NuGet release.</releaseNotes>
<copyright>$copyright$</copyright>
<tags>Kaitai Struct File-Format Binary Protocols</tags>
</metadata>
</package>

0 comments on commit 0456f06

Please sign in to comment.