title: Access Version from Xamarin Solution
body: <p>I have a multi plattform project in <code>Xamarin</code>. The Version Number for each <code>.csproj</code> Project (iOS, Android, Mac, Windows) The Version number is set from the <code>.sln</code> Solution options.</p>
  
  <p>My problem now is to retrieve the version number from the solution file without having access to the individual Projects.</p>
  
  <p>I know that there are solutions to get the Version number from like <code>NSBundle</code> in iOS and similar in other platforms, however I can't use those.</p>
  
  <p>EDIT: This is the structure of my Solution called <code>ETCS</code> (git branch develop). There I have a Project <code>ETCS</code> which is the core funtions and the Projects <code>ETCS.***</code>, one for each platform.</p>
  
  <p><a href="https://i.stack.imgur.com/EDKqB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EDKqB.png" alt="Solution Explorer"></a></p>
  
  <p>The version number is set in the solution from where the projects get that number. See image below. What I need is a way to set a <code>constant</code> in the core function project.</p>
  
  <p><a href="https://i.stack.imgur.com/Dqr3v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dqr3v.png" alt="Version number setting in Project"></a></p>