Automating Build Version Numbering in Visual Studio
Need a streamlined approach to managing build and file version numbers in Visual Studio? While the default settings may fall short, Visual Studio 2008 and later versions offer a simple solution.
Automating Version Increments (Visual Studio 2008 and later)
AssemblyInfo.cs
file.<code class="language-csharp">[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]</code>
AssemblyVersion
line with this:<code class="language-csharp">[assembly: AssemblyVersion("1.0.*")]</code>
AssemblyVersion
and AssemblyFileVersion
with incremented values, maintaining consistency. For instance, you might see a version like 1.0.3266.92689.The above is the detailed content of How Can I Automate File Build Version Incrementing in Visual Studio?. For more information, please follow other related articles on the PHP Chinese website!