NET Framework, version 4.0.30319.18444] Copyright (C) Microsoft Corporation. rd /s /q "Versioning/obj" Restore: Restore Nu Get packages restore All packages listed in packages.config are already installed. Compiler Services; [assembly: Assembly Title("Versioning Packaging")] [assembly: Assembly Description("")] [assembly: Assembly Configuration("")] [assembly: Assembly Company("")] [assembly: Assembly Product("")] [assembly: Assembly Copyright("")] [assembly: Assembly Trademark("")] [assembly: Assembly Culture("")] // The assembly version has the format "...".Version: Versioning assemblies Build: Build Release .... 0 Warning(s) 0 Error(s) Time Elapsed .84 C:\Program Files (x86)\Microsoft Visual Studio 11.0 using System. // The form "..*" will automatically update the build and revision, // and "...*" will update just the revision.Here’s what I’m using, suggestions are always welcome.Last five posts (1, 2, 3, 4, 5) were all about fun stuff with Arduino.Done Building Project "d:\projects\C#\Mono\Versioning\Build.proj" (default targets). is a slick task runner which can be used for stuff other than Java Script. Below is our code which we are using to accomplish this.
– Install MSBuild Extension pack Nu Get package to the solution – Add project build file to the solution If there is no MSBuild project file there yet add it.
Recently we just added a new task which will parse the Assembly file and increment the version number of the Assembly.
Basically all we are doing is opening up the Assembly class and reading it in and then splitting it into a string array.
Now it’s time for something more mundane ;) In this post I will show you how to create Team City build that automatically sets version information in all assemblies produced by ASP. It's nothing new but I hope to give you some useful background info and note a few gotchas you may face...
Complete code of sample application is available in this Git Hub repository.