Remember that you can move the nuget-package details into the csproj, and delete the NLog.Targets.Splunk.nuspec , and add these details to your csproj-file:
<Title>NLog for .NET Framework and .NET Standard</Title>
<Description>A NLog target for Splunk Http Event Collector (HEC) Sender</Description>
<Authors>Alan Barber</Authors>
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
<Copyright>Copyright (c) $(CurrentYear) Alan Barber, Copyright 2013-2015 Splunk, Inc. </Copyright>
<PackageTags>nlog;nlog-target;splunk;splunk-enterprise;logging</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/AlanBarber/NLog.Targets.Splunk/master/docs/nugeticon.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/AlanBarber/NLog.Targets.Splunk</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/AlanBarber/NLog.Targets.Splunk/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>git://github.com/AlanBarber/NLog.Targets.Splunk</RepositoryUrl>
Then you can just use this command to create the nuget-package:
https://github.com/AlanBarber/NLog.Targets.Splunk/blob/e74a5aef9a44887d89f5cac650eb24c3263ef698/src/NLog.Targets.Splunk/NLog.Targets.Splunk.csproj#L4
Change to this:
Remember that you can move the nuget-package details into the csproj, and delete the
NLog.Targets.Splunk.nuspec
, and add these details to your csproj-file:Then you can just use this command to create the nuget-package:
dotnet pack --configuration Release --include-symbols --version-suffix 2.0.0-rc