Add NuGet package configuration details for KaitaiStruct.Runtime.CSharp.

This commit is contained in:
Adam Davidson 2018-01-21 16:06:18 +00:00
parent bb266f3731
commit 0456f06046
4 changed files with 33 additions and 15 deletions

1
.gitignore vendored
View File

@ -251,3 +251,4 @@ paket-files/
# JetBrains Rider
.idea/
*.sln.iml
/nuget.exe

View File

@ -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.

View File

@ -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' ">
@ -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>

View File

@ -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>