Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Problem compiling Pocket PC software: Visual Build 6, VS.Net 2005 (https://www.kinook.com/Forum/showthread.php?t=2109)

WislegC 10-19-2006 02:13 PM

Problem compiling Pocket PC software: Visual Build 6, VS.Net 2005
 
When I compile a Pocket PC application in Visual Build 6.0 (Visual Studio 2005) I get the following error:

C:\Build Process\Checkout\Mobile\Lima\trunk\AssemblyInfo.vb (29) : error BC30002: Type 'AssemblyFileVersionAttribute' is not defined.

Relevant lines that created in AssemblyInfo.vb:





Visual Build project step XML:


-1
-1
0
C:\Build Process\Checkout\Mobile\Lima\trunk\Lima.sln
devenv
0
-1
-1
-1
%VERSIONID%%REVISIONID%
2
Execute devenv.com to compile Lima.sln
2
Compile Lima


If I do not select the "Update the File Version" check box in the Versions tab of the Make VS.Net project step, I do not get the error.

kinook 10-19-2006 02:55 PM

Only the Assembly and Product versions apply for Smart Device (Compact Framework) projects; the File version option should be unchecked for these project types.
http://www.visualbuild.com/Manual/vsnetversionstab.htm

gchang 12-07-2006 02:15 PM

Assembly and Product Version update
 
I had this problem:

>> C:\Build Process\Checkout\Mobile\Lima\trunk\AssemblyInfo.vb (29) : error BC30002: Type 'AssemblyFileVersionAttribute' is not defined.

I've solved it with this suggestion:
>>Only the Assembly and Product versions apply for Smart Device (Compact Framework) projects; the File version option should be unchecked for these project types.

Despite that Update File Version is disabled, DLL and EXE files generated after the build for both Win32 and Pocket PC 2003 (ARMV4) target all have correct Assembly and Product version updated. But, Windows Mobile 5.0 Pocket PC SDK (ARMV4I) target build didn't. In fact, all Version information in the Properties tab were not updated at all.

Our project is VC++ based using VS2005.
Any suggestion would be appreciated.

kinook 12-08-2006 10:35 AM

Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file
4) The .sln file, project, and .rc files (no source code files)

Thanks.

gchang 12-24-2006 10:38 AM

Files with an RC file get updated correctly.
However, files without an RC, but with a global RC file specified in the project, did not get updated.
Does every source code file need its own RC file?

kinook 12-27-2006 02:24 PM

Correct -- each project would need a .rc file with VERSIONINFO resource.


All times are GMT -5. The time now is 12:59 AM.


Copyright © 1999-2023 Kinook Software, Inc.