Win32 File Version in a NETCF v2 App

R

Rich M

Using VS2005 SP1, if I create a new NETCF v1 app and build it, the
executable has a file version as defined by the AssemblyInfo.cs file. I I
instead create a NETCF v2 app, the built executable does not contain any
file version info. I see the same result if I simple convert the NETCF v1
app to v2 where the new built executable targeting NETCF v2 does not contain
any file version info. In my testing, I created new projects without
modifying any source code or project settings. So how do I get file version
info in my NETCF v2 applications (without using the command line compiler
and adding a Win32 resource file)?

I have searched for this answer and have seen information about using
AssemblyFileVersion in the AssemblyInfo.cs file. I assume this is for
setting the file version different from the assembly version. My problem is
the file version information is not being added at all.

Thanks,
Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top