I have 3 different VisualStudio solution, one is in C++, another one is in C# and the last one its VisuaBasic.
I want to share the AssemblyVersion property so that we can have a single point where to change the version number among the different solutions. My issue in creating a shared AssemblyInfo is that each solution has a different syntax for the AssemblyInfo
C#
[assembly: AssemblyVersion("X.Y.Z.W")]
VB
<Assembly: AssemblyVersion("X.Y.Z.W")>
CPP (optional, not fully required to be update together with C# and VB solutions)
[assembly:AssemblyVersionAttribute("7.6.2.2")];
Is it possibile to use some mechanism like a preprocessor macro? We just want to update the version number in a single file
Thanks