Merge pull request #15 from pluskal/Multi-targeting

Multi targeting
This commit is contained in:
Mikhail Yakshin 2019-11-13 10:49:43 +00:00 committed by GitHub
commit 155c789212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 82 deletions

View File

@ -1,23 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// 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("Kaitai.Struct.Runtime")]
[assembly: AssemblyDescription("This library implements Kaitai Struct API for C#.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Kaitai Project")]
[assembly: AssemblyProduct("Kaitai Struct Runtime")]
[assembly: AssemblyCopyright("Copyright © Kaitai Project 2016-2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[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.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -1,43 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8339A750-C407-4CE8-8E31-51CB2EFD3A4B}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Kaitai</RootNamespace>
<TargetFrameworks>netstandard1.3;net4.5</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>1701;1702;CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<PackageId>KaitaiStruct.Runtime.CSharp</PackageId>
<Authors />
<Company>Kaitai Project</Company>
<Description>This library implements Kaitai Struct API for C#.</Description>
<Product>Kaitai Struct Runtime</Product>
<Copyright>Copyright © Kaitai Project 2016-2019</Copyright>
<AssemblyName>Kaitai.Struct.Runtime</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<DocumentationFile>bin\Release\Kaitai.Struct.Runtime.xml</DocumentationFile>
<RootNamespace>Kaitai</RootNamespace>
<PackageProjectUrl>http://kaitai.io/</PackageProjectUrl>
<RepositoryUrl>https://github.com/kaitai-io/kaitai_struct_csharp_runtime</RepositoryUrl>
<PackageTags>Kaitai Struct File-Format Binary Protocols</PackageTags>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
<AssemblyVersion>0.8.0.0</AssemblyVersion>
<FileVersion>0.8.0.0</FileVersion>
<Version>0.8.0.0</Version>
<PackageReleaseNotes></PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
<None Include="icon.png" Pack="true" PackagePath="" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<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>
</Project>

View File

@ -1,21 +0,0 @@
<?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>
Changed default namespace to Kaitai.
Changed assembly name to Kaitai.Struct.Runtime.
</releaseNotes>
<copyright>$copyright$</copyright>
<tags>Kaitai Struct File-Format Binary Protocols</tags>
</metadata>
</package>