I have AssemblyInfo.cs file automatically generated during build. Here\'s part of .csproj file:
2 &l
Used ReadLinesFromFile to make version in separate file:
ReadLinesFromFile