# AssemblyFileVersion shouldn't be added to a .NET CF project

**URL:** https://www.finalbuilder.com/forums/t/assemblyfileversion-shouldnt-be-added-to-a-net-cf-project/3016
**Category:** Bugs
**Created:** [August 7, 2008, 5:17am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-shouldnt-be-added-to-a-net-cf-project/3016 "2008-08-07T05:17:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hans\_nieuwenhuis](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/87869e/32.png) [@hans\_nieuwenhuis](https://www.finalbuilder.com/forums/u/hans_nieuwenhuis)
#### Post date: [August 7, 2008, 5:17am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-shouldnt-be-added-to-a-net-cf-project/3016/1 "2008-08-07T05:17:08Z")

</div>

If I try to build my Visual Studio C# .NET CF project, the following line is added to my AssemblyInfo.cs file by FinalBuilder:

[assembly: AssemblyFileVersion ("1.0.0.0")]

But the .NET compact framework doesn't support the AssemblyFileVersion attribute, so my project doesn't compile with FinalBuilder (without FinalBuilder it compiles okay).

&nbsp;

---

<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: [August 7, 2008, 5:31am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-shouldnt-be-added-to-a-net-cf-project/3016/2 "2008-08-07T05:31:33Z")

</div>

Hi Hans   
  
 The action doesn’t know that it is a cf project, as a work around, turn off updating the assembly info from a the VS action and use the Assembly Info updater action before the VS action.

---

<div class="post-metadata">

### Author: ![hans\_nieuwenhuis](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/87869e/32.png) [@hans\_nieuwenhuis](https://www.finalbuilder.com/forums/u/hans_nieuwenhuis)
#### Post date: [August 7, 2008, 5:46am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-shouldnt-be-added-to-a-net-cf-project/3016/3 "2008-08-07T05:46:42Z")

</div>

Hi Vincent,

Thanks for your quick answer!

I just looked in my .csproj file and there is the following line:

&nbsp;&nbsp;&nbsp; PocketPC

Maybe FB can interpret that line and know that it 's not for a 'normal' PC?

I will have a look at the Assembly Info Updater action.

Greetings from Shanghai

&nbsp;
