✅ How to get build date of a asp.net app?
i want to display the YYYYMMDD in a blazor wasm app, how can i get the build date to display?
i have tried this
but that creates a file "\wwwroot\BuildDate.txt", not a file IN wwwroot... ????
5 Replies
i used
<WriteLinesToFile File="$(ProjectDir)\Properties\BuildDate.txt"
how do i access Properties then in c#? i have seen mutliple examples with that but nowhere a hint where Properties comes from, no namespace named
you mean the settings? you should create a settings file
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.found my solution