[msbuild] for EmbeddedResource naming, take AutoGen property into consideration.