teognost
06-04-2007, 01:13 PM
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!
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!