Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-04-2007, 01:13 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Set text file\product version for a VS.NET project

I have a 'Make VS.NET' step that is compiling a C# project,checkbox 'set proj version to a specific value' is ticked,all the 3 checkboxes with set version are ticked as well(file\assembly\product version).

I want to set the project version to a specific value but to have different assembly version (only numeric like '1.2.3.4') than file version (should be like '1.2.3.4 Release1') and product version (should be like '1.2 Release1').
As first attempt I wanted to set everything to '1.2.3.4 Release1' but the project compilation fails:

AssemblyInfo.cs(29,12): error CS0647: Error emitting 'System.Reflection.AssemblyVersionAttribute' attribute -- 'The version specified '1.2.3.4 Release1' is invalid'

So question 1 is -how can I set version using chars as well,not only numbers?
And 2-how can I set different file version than assembly and product version?
Thanks a lot for any help!
Reply With Quote
 


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:14 PM.


Copyright © 1999-2023 Kinook Software, Inc.