For some of the projects that I build occasionally have an additional file AssemblyInfoCommon.cs with the version number stuff. So, I have to run this task for AssemblyInfo*.cs files. However, this task inserts the version attributes to the files if it does not contain one. This causes duplicate entries and builds to fail.
Is there a way to avoid inserting in case the file does not have one?