Msbuild assemblyInfoPatcher: how to set the version number


I try to set the version number in the file AssemblyInfo.cs using the plugin MSBUILD.
The plugin provides the task ‘assemblyInfoPatcher’. There is also a sample on GitHub, but do not know how to set the number. I did not find any documentation. I tried different ways:
version = '’
project.version = ‘1.2’ version = project.version + ‘.0.0’
… and others.
Please can anyone give me a hint?