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

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).

 

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.

Hi Vincent,

Thanks for your quick answer!

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

    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