Maintaining AssemblyInfo for multiple projects
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSjHatvDk22_k16q-boDz9BHzmIHvqBlbfxTV2qBUrxs1Ugu3w5B6mT9fdNOB9BNpTZ_g0lVaC-WXxSZFwUiMywY_7qZ8A8p2b1h0pFDBTXukP0jNoTJRLrlDSZda7zcQmVYl1bOUuLoE/s400/msbuild.jpg)
When you are developing an application or manly a NuGet package, you might want to keep the same AssemblyInfo for all your packages, which involves updating each project when you want to publish a new version of your package according to the SemVer convention Semantic Versioning 2.0.0 | Semantic Versioning . In order to make it easier, with the improvements of dotnet core and the new csproj syntax, which I strongly recommend, MSBuild 15 introduced a pretty cool feature: Solution-wide project properties with Directory.Build.props Customize your build - Visual Studio | Microsoft Docs . Basically, this allows you to define certain properties and use them in all your project in a centralised way, so you don't have to update your projects one by one. All you have to do is create a new text file named Directory.Build.props and place it where you have your solution file. Here is an example of the properties you can use: <Project> <PropertyGroup> ...