# Set C# Project Version to continua version

**URL:** <https://www.finalbuilder.com/forums/t/set-c-project-version-to-continua-version/5342>\
**Category:** Discussion\
**Created:** [April 24, 2015, 8:48am UTC](https://www.finalbuilder.com/forums/t/set-c-project-version-to-continua-version/5342 "2015-04-24T08:48:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haggy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/edb3f5/32.png) [@haggy](https://www.finalbuilder.com/forums/u/haggy)\
**Post date:** [April 24, 2015, 8:48am UTC](https://www.finalbuilder.com/forums/t/set-c-project-version-to-continua-version/5342/1 "2015-04-24T08:48:29Z")

</div>

Hi  
  
how can i set the version of a visual studio c# project to the version the continua build has ?  
  
I want my deployment to have same version as the build

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [April 24, 2015, 9:27am UTC](https://www.finalbuilder.com/forums/t/set-c-project-version-to-continua-version/5342/2 "2015-04-24T09:27:27Z")

</div>

You can use the AssemblyInfo Updater action. When we build Continua, we have a SharedAssemblyInfo.cs file that all projects in the solution include, so updating it is trivial   
  
 AssemblyInfoFiles :   
 $Source.CT\_Source$\Source\SharedAssemblyInfo.cs   
  
 Properties to update :   
 AssemblyVersion:"$Build.Version.DotNet$"   
 AssemblyFileVersion:"$Build.Version.DotNet$"
