Enabled .NET Core CLI tool build

This commit is contained in:
Christian Köllner 2019-12-30 19:27:11 +01:00
parent abe9921ec5
commit b0fdf30525
2 changed files with 8 additions and 2 deletions

View File

@ -51,7 +51,10 @@ artifacts:
- path: chocolatey\install\capnpc-csharp-win-x86.$(appveyor_build_version).nupkg
name: capnpc-csharp-win-x86
type: NuGetPackage
- path: chocolatey\install\capnpc-csharp.$(appveyor_build_version).nupkg
# - path: chocolatey\install\capnpc-csharp.$(appveyor_build_version).nupkg
# name: capnpc-csharp
# type: NuGetPackage
- path: capnpc-csharp\nupkg\capnpc-csharp.$(appveyor_build_version).nupkg
name: capnpc-csharp
type: NuGetPackage
clone_depth: 1

View File

@ -5,7 +5,10 @@
<TargetFramework>netcoreapp2.1</TargetFramework>
<RootNamespace>CapnpC</RootNamespace>
<LangVersion>7.1</LangVersion>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackAsTool>true</PackAsTool>
<ToolCommandName>capnpc-csharp</ToolCommandName>
<PackageOutputPath>./nupkg/capnpc-csharp</PackageOutputPath>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Authors>Christian Köllner and contributors</Authors>
<Description>Cap'n Proto C# code generator backend</Description>