{"repo":"ygoe/NetRevisionTask","free":true,"listed":false,"github":"https://github.com/ygoe/NetRevisionTask","clone":"git clone https://github.com/ygoe/NetRevisionTask.git","description":"Injects the current VCS revision of a working directory in a custom format into a .NET assembly build. Based on the .NET Revision Tool, integrated as an MSBuild task, for .NET Framework and .NET Core.","language":"C#","stars":35,"topics":["automation","build","build-tool","dotnet","dotnet-core","version","versioning"],"license":"MIT","category":"workflow-automation","readme_excerpt":"# .NET Revision Task for MSBuild Injects the current version control system (VCS) revision of a working directory in a custom format into a .NET assembly build. Introduction Based on the idea of the .NET Revision Tool, which is a standalone executable that could print out revision information and patch and restore source files before and after a build, this is a custom MSBuild task that tightly integrates with the standard build process. It now supports .NET Core projects in VS 2017 (.csproj format) by providing the version information through MSBuild properties like Version and InformationalVersion instead of writing to source files directly. Patching and restoring source files is still supported as a fallback mechanism for classic-style projects (VS 2015 and WPF/.NET Framework). Currently the following VCS are supported: Git Subversion More systems can easily be added in the code. Why? Every bigger-than-small application has a version number that the user can query in some form of About dialog window. You should use it to make newer versions of your software distinguishable from older ones. Keeping it up-to-date in the source code is often more work than desired and leads to errors resulting in inconsistent version descriptions. By automating the copying of that revision ID into the application source code, you can avoid forgetting that update. Also, possible keyword replacing features of Git/SVN itself do not play very well with C#/VB.NET source code or project files in cr","default_branch":null,"files":null,"tree":[],"storefront":"/r/ygoe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ygoe/NetRevisionTask/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}