Click here to Skip to main content
       

C#

 
AnswerRe: Getter PinmvpAbhinav S5-Nov-12 5:37 
GeneralRe: Getter PinmemberC-P-User-35-Nov-12 7:18 
GeneralRe: Getter PinprotectorPete O'Hanlon5-Nov-12 8:01 
AnswerRe: Getter PinmentorDaveyM695-Nov-12 8:06 
GeneralRe: Getter PinmemberC-P-User-35-Nov-12 8:29 
GeneralRe: Getter PinmentorDaveyM695-Nov-12 8:41 
GeneralRe: Getter PinprotectorPete O'Hanlon5-Nov-12 8:45 
QuestionFORMAT ASSEMBLY PinmemberMember 91410335-Nov-12 2:01 
Hello Smile | :)
 
I'm using this code...
 
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
Version version = assembly.GetName().Version;
 
...to get version of my application.
The result is: 1.0.0.24557, but I want to reduce a number of digits in MinorRevision so that my result look like: 1.0.0.24
 
Why there is 5 digits in MinorRevision? Is it possible to modifiy MinorRevision to be only on 2 digits so the next version will be 1.0.0.25, 1.0.0.26 etc?
Rene

AnswerRe: FORMAT ASSEMBLY PinmemberEddy Vluggen5-Nov-12 2:13 
GeneralRe: FORMAT ASSEMBLY PinmemberMember 91410335-Nov-12 2:23 
GeneralRe: FORMAT ASSEMBLY PinmemberEddy Vluggen5-Nov-12 2:27 
GeneralRe: FORMAT ASSEMBLY PinmemberMember 91410335-Nov-12 2:29 
QuestionRe: FORMAT ASSEMBLY PinmemberEddy Vluggen5-Nov-12 2:42 
AnswerRe: FORMAT ASSEMBLY PinmemberMember 91410335-Nov-12 3:15 
GeneralRe: FORMAT ASSEMBLY PinmvpDave Kreskowiak5-Nov-12 3:21 
GeneralRe: FORMAT ASSEMBLY PinmemberMember 91410335-Nov-12 3:35 
GeneralRe: FORMAT ASSEMBLY PinmvpDave Kreskowiak5-Nov-12 4:48 
AnswerRe: FORMAT ASSEMBLY PinmemberEddy Vluggen5-Nov-12 4:39 
QuestionCreate a button in the context menu for each selected contact. Pinmembercsharpcomeintome5-Nov-12 0:22 
AnswerRe: Create a button in the context menu for each selected contact. PinmemberMycroft Holmes5-Nov-12 0:39 
GeneralRe: Create a button in the context menu for each selected contact. Pinmembercsharpcomeintome5-Nov-12 2:36 
GeneralMessage Removed Pinmembercsharpcomeintome5-Nov-12 2:42 
GeneralRe: Create a button in the context menu for each selected contact. PinmvpDave Kreskowiak5-Nov-12 3:18 
GeneralRe: Create a button in the context menu for each selected contact. PinmemberJ4amieC5-Nov-12 3:28 
GeneralRe: Create a button in the context menu for each selected contact. Pinmembercsharpcomeintome5-Nov-12 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 22 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid