TriggersTools.Build.CopyrightYear 1.0.2

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

Install-Package TriggersTools.Build.CopyrightYear -Version 1.0.2
dotnet add package TriggersTools.Build.CopyrightYear --version 1.0.2
<PackageReference Include="TriggersTools.Build.CopyrightYear" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TriggersTools.Build.CopyrightYear --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Additional notes in description

  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 1.3

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 315 3/21/2019
1.0.0 1,015 7/16/2018