# VS2010 Build does not update version numbers in compiled assembly

**URL:** https://www.finalbuilder.com/forums/t/vs2010-build-does-not-update-version-numbers-in-compiled-assembly/1666
**Category:** Discussion
**Created:** [December 16, 2010, 12:50pm UTC](https://www.finalbuilder.com/forums/t/vs2010-build-does-not-update-version-numbers-in-compiled-assembly/1666 "2010-12-16T12:50:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [December 16, 2010, 12:50pm UTC](https://www.finalbuilder.com/forums/t/vs2010-build-does-not-update-version-numbers-in-compiled-assembly/1666/1 "2010-12-16T12:50:33Z")

</div>

&nbsp;Hi

&nbsp;

I have a .NET project in TFS.

In the action list i do a 'Get latest version' and then compile it using VS2010.

In the compile action on the .net version tab i have set autoincrement to on.

When the project finished i see on that tab the new version number, but when i checked the compile binary it has still the old value. (that was set once when creating the project)

What.do i wrong?

Do i need to do more like checking out project?

Peter

---

<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: [December 16, 2010, 10:20am UTC](https://www.finalbuilder.com/forums/t/vs2010-build-does-not-update-version-numbers-in-compiled-assembly/1666/2 "2010-12-16T10:20:52Z")

</div>

The autoincrement happens after the action completes, so the value you see there is what will be applied the next time you run the action.
