TriggersTools.Build.CopyrightYear NuGet Package

Replaces all instances of {YEAR} in copyrights with the current year.

Works with the MSBuild Copyright property and AssemblyCopyright attribute.

Assign the <CopyrightYearAssemblyInfo> property in your project file as your input assembly info file if you're using an one different from Properties\AssemblyInfo.cs.

This does NOT work for NuGet packages generated by Sdk projects. Use $([System.DateTime]::Now.Year) for these projects instead of {YEAR}.




Got any TriggersTools.Build.CopyrightYear Question?





Info

Version: 1.0.2
Author(s): Robert Jordan
Last Update: Thursday, March 21, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/trigger-death/TriggersTools.Build
NuGet Url: https://www.nuget.org/packages/TriggersTools.Build.CopyrightYear


Install
Install-Package TriggersTools.Build.CopyrightYear
dotnet add package TriggersTools.Build.CopyrightYear
paket add TriggersTools.Build.CopyrightYear
TriggersTools.Build.CopyrightYear Download (Unzip the "nupkg" after downloading)

.NETStandard 1.3
  • No dependencies.
net46
  • No dependencies.


Tags



STATS

must-have-score

.5

avg-downloads-per-day

1

days-since-last-release

1857