Skip to content

Commit 5929360

Browse files
Update
1 parent d008403 commit 5929360

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

IntelliTect.Multitool.Tests/IntelliTect.Multitool.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<PropertyGroup>
10-
<ReleaseDateAttribute>true></ReleaseDateAttribute>
10+
<ReleaseDateAttribute>true</ReleaseDateAttribute>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

IntelliTect.Multitool/Build/IntelliTect.Multitool.targets

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
'$(CODEBUILD_CI)' == 'true'">true</CI>
1919
</PropertyGroup>
2020

21-
<PropertyGroup>
22-
<ReleaseDateAttribute>true</ReleaseDateAttribute>
23-
</PropertyGroup>
24-
2521
<Target Name="WriteLaunchers" AfterTargets="CopyFilesToOutputDirectory">
2622
<PropertyGroup>
2723
<TempStagingPath Condition="'$(TempStagingPath)' == ''">$([System.IO.Path]::GetTempPath())</TempStagingPath>

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
## ReleaseDateAttribute - Gets an UTC DateTime of compile time. Allows us to determine the build date/time
1010

11+
### How to use
12+
13+
- To help [hot reload in visual studio work properly](https://github.com/IntelliTect/Multitool/issues/125), the release date attribute will be automatically be generated during compilation on a CI runner, but it won’t generate locally by default. If you want it to generate locally, set the `ReleaseDateAttribute` to true within a property group in your project file. (`<ReleaseDateAttribute>true</ReleaseDateAttribute>`)
14+
1115
### Blog Post/Additional Information: [How To Display the Build Date of a .NET Application](https://intellitect.com/blog/build-date-net-application/)
1216

1317
### Samples:

0 commit comments

Comments
 (0)