Version number of CSProj and TapPackage files

Hello everyone,

I have a question regarding versioning. I have a solution that holds several projects. Each project outputs a DLL/Exe, where I want to track the version number. After I am finished with the development I want to create a .TapPackage that has the same version as the DLL file. Currently I have to update the version in the .csproj and package.xml. Is there an elegant way to solve this within a single file?

I tried “Directory.Build.props” which works for .csproj but not for the package.xml.


@david.minker we use a .gitversion file for this and the $(GitVersion) macro:

1 Like