Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-19-2006, 02:13 PM
WislegC WislegC is online now
Registered User
 
Join Date: 08-15-2006
Posts: 3
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:

<Assembly: AssemblyVersion("1.00.1235")>
<Assembly: AssemblyInformationalVersionAttribute("1.00.1235") >
<Assembly: AssemblyFileVersionAttribute("1.00.1235")>

Visual Build project step XML:

<step action='Make VS.NET'>
<AssemblyVer type='11'>-1</AssemblyVer>
<Attr type='11'>-1</Attr>
<FileVer type='11'>0</FileVer>
<Filename>C:\Build Process\Checkout\Mobile\Lima\trunk\Lima.sln</Filename>
<Location>devenv</Location>
<LogLevel type='3'>0</LogLevel>
<ParseOutput type='11'>-1</ParseOutput>
<ProdVer type='11'>-1</ProdVer>
<ShowCmd type='11'>-1</ShowCmd>
<Version>%VERSIONID%%REVISIONID%</Version>
<VersionSel type='3'>2</VersionSel>
<description>Execute devenv.com to compile Lima.sln </description>
<indent type='3'>2</indent>
<name>Compile Lima</name>
</step>

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.
Reply With Quote
  #2  
Old 10-19-2006, 02:55 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
  #3  
Old 12-07-2006, 03:15 PM
gchang gchang is online now
Registered User
 
Join Date: 12-07-2006
Posts: 2
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.

Last edited by gchang; 12-07-2006 at 03:57 PM.
Reply With Quote
  #4  
Old 12-08-2006, 11:35 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #5  
Old 12-24-2006, 11:38 AM
gchang gchang is online now
Registered User
 
Join Date: 12-07-2006
Posts: 2
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?

Last edited by gchang; 12-24-2006 at 11:50 AM.
Reply With Quote
  #6  
Old 12-27-2006, 03:24 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Correct -- each project would need a .rc file with VERSIONINFO resource.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:28 AM.


Copyright © 1999-2023 Kinook Software, Inc.