[xbuild]: Generate [TargetFramework] attribute.