Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No win32 file version after upgrading to CF2.0
Message
General information
Forum:
ASP.NET
Category:
.NET Compact Framework
Title:
No win32 file version after upgrading to CF2.0
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01070545
Message ID:
01070545
Views:
56
I have a CF application which is uses a VFP web service to check for and then automatically apply updates. The application sends its current version to the web service, which compares it to the file version of a file sitting on the server. If the server's version is newer, the web service notifies the client, which then downloads the file and applies the update. The web service is written in Microsoft Visual FoxPro 8.0, and uses the win32 file version info to compare versions.

This project was originally written using CF 1.0 user VS 2003. I have migrated the app to VS 2005 with CF 2.0, and now I no longer get the win32 version info built into the CF executable. Looking at the properties under windows, the compiled executable used to show a Version tab which had all of the assembly info. That tab is now gone. Additionally, the VFP command I am using (aGetFileVersion) which is supposed to return a length 15 array of version fields, is now returning nothing at all.

I have tried including the following lines in the assembly.cs file:
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyInformationalVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.*")]

None of these commands is causing any win32 version info to be generated.

Can I get the version info in there, or do I have to re-write my updater?

Thanks,

Paul Moon
Business Software Solutions
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Reply
Map
View

Click here to load this message in the networking platform