I\'m using Msbuild to compile and generate .zip files and installers and I need the version number of my assembyInfo.
I\'m using this code.
Finally I have used this code that not require additional task libraries
(\d+)\.(\d+) %(myAssemblyInfo.Version) $([System.Text.RegularExpressions.Regex]::Match($(In), $(Pattern)))