refactor the common target for generating assemblyinfo to a separate build file