Use Directory.Build.Props
Use Directory.Build.Props