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)
-   -   VS.NET action version fails with multiple AssemblyInfo files (https://www.kinook.com/Forum/showthread.php?t=372)

nanotech 03-23-2004 04:06 PM

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?

kinook 03-23-2004 05:41 PM

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).


All times are GMT -5. The time now is 10:45 AM.


Copyright © 1999-2023 Kinook Software, Inc.