I have two projects in a Visual Studio solution. I need an application setting in one of them to be the version number of the other project's assembly.
I thought of adding to my project1's app.config something like:
<setting name="currentVersion" serializeAs="String">
<value>
!(bind.project2.Assembly.FileVersion)
</value>
</setting>
but obviously this code does not work
I could change the value manually everytime I compile a new version.. but...you know...one forgets.