diff --git a/src/AutoMapper/AutoMapper.csproj b/src/AutoMapper/AutoMapper.csproj index 2e1bcd97bf..f05e2df5ad 100644 --- a/src/AutoMapper/AutoMapper.csproj +++ b/src/AutoMapper/AutoMapper.csproj @@ -62,11 +62,17 @@ --> - + + + %25%25cI + %25cI + + + - $(GitCommitDate) + $(GitCommitDate) diff --git a/src/UnitTests/Licensing/BuildInfoTests.cs b/src/UnitTests/Licensing/BuildInfoTests.cs new file mode 100644 index 0000000000..b27682ee06 --- /dev/null +++ b/src/UnitTests/Licensing/BuildInfoTests.cs @@ -0,0 +1,10 @@ +using AutoMapper.Licensing; + +namespace AutoMapper.UnitTests.Licensing; + +public class BuildInfoTests +{ + // Perpetual licensing depends on the build date embedded by the EmbedBuildDate target + [Fact] + public void BuildDate_IsEmbedded() => BuildInfo.BuildDate.ShouldNotBeNull(); +}