Save auto incremented Assembly Version number as variable

Hi,

Can someone please point me in the direction of how I save an auto incremented assembly version from an msbuild into a variable name for later use?

 

Thanks

Jeff