Introduction Learn how to read project properties stored in a C# project file. By storing property values in the project file rather than in code or appsettings.json. 💡 No tampering once pushed to production. Step 1 Add the following PropertyGroup to a .csproj file and replace values with your values. Code sample A sample project demonstrating assembly metadata retrieval. Payne services 2019-$([System.DateTime]::Now.Year) Step 2 Add the following project reference to the project Source code , w
Comment
Sign in to join the discussion.
Loading comments…