Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-23-2004, 04:06 PM
nanotech nanotech is online now
Registered User
 
Join Date: 03-15-2004
Posts: 1
VS.NET action version fails with multiple AssemblyInfo files

We have an architecture with the [assembly] directives placed in two different files, one which is common across our entire product line, and one which is specific to a particular project.

When using the VS.NET action, and setting version to a specific value, the action updates both of these files to contain the
AssemblyFileVersionAttribute, AssemblyInformationalVersionAttribute, and AssemblyVersionAttribute attributes. This results in the build failing.

Any suggestions?
Reply With Quote
  #2  
Old 03-23-2004, 05:41 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
The Make VS.NET action will only update assembly attributes in the AssemblyInfo.* file of the project, adding the specified attributes if missing or updating if found. If you keep some of the attributes in a different file in the project, do not set those attributes on the Versions/Properties tab of the Make VS.NET action, as it will only update/create them in the AssemblyInfo.* file. You will need to update the attributes in the other file some other way, since the Make VS.NET action will not change them there (one way would be to use a Replace in File action).
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 03:53 AM.


Copyright © 1999-2023 Kinook Software, Inc.