Click here to Skip to main content
12,890,181 members (43,908 online)
   

C#

 
AnswerRe: Getter Pin
Abhinav S5-Nov-12 5:37
mvpAbhinav S5-Nov-12 5:37 
GeneralRe: Getter Pin
C-P-User-35-Nov-12 7:18
memberC-P-User-35-Nov-12 7:18 
GeneralRe: Getter Pin
Pete O'Hanlon5-Nov-12 8:01
protectorPete O'Hanlon5-Nov-12 8:01 
AnswerRe: Getter Pin
DaveyM695-Nov-12 8:06
mentorDaveyM695-Nov-12 8:06 
GeneralRe: Getter Pin
C-P-User-35-Nov-12 8:29
memberC-P-User-35-Nov-12 8:29 
GeneralRe: Getter Pin
DaveyM695-Nov-12 8:41
mentorDaveyM695-Nov-12 8:41 
GeneralRe: Getter Pin
Pete O'Hanlon5-Nov-12 8:45
protectorPete O'Hanlon5-Nov-12 8:45 
QuestionFORMAT ASSEMBLY Pin
Member 91410335-Nov-12 2:01
memberMember 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 Pin
Eddy Vluggen5-Nov-12 2:13
memberEddy Vluggen5-Nov-12 2:13 
GeneralRe: FORMAT ASSEMBLY Pin
Member 91410335-Nov-12 2:23
memberMember 91410335-Nov-12 2:23 
GeneralRe: FORMAT ASSEMBLY Pin
Eddy Vluggen5-Nov-12 2:27
memberEddy Vluggen5-Nov-12 2:27 
GeneralRe: FORMAT ASSEMBLY Pin
Member 91410335-Nov-12 2:29
memberMember 91410335-Nov-12 2:29 
QuestionRe: FORMAT ASSEMBLY Pin
Eddy Vluggen5-Nov-12 2:42
memberEddy Vluggen5-Nov-12 2:42 
AnswerRe: FORMAT ASSEMBLY Pin
Member 91410335-Nov-12 3:15
memberMember 91410335-Nov-12 3:15 
GeneralRe: FORMAT ASSEMBLY Pin
Dave Kreskowiak5-Nov-12 3:21
mvpDave Kreskowiak5-Nov-12 3:21 
GeneralRe: FORMAT ASSEMBLY Pin
Member 91410335-Nov-12 3:35
memberMember 91410335-Nov-12 3:35 
GeneralRe: FORMAT ASSEMBLY Pin
Dave Kreskowiak5-Nov-12 4:48
mvpDave Kreskowiak5-Nov-12 4:48 
AnswerRe: FORMAT ASSEMBLY Pin
Eddy Vluggen5-Nov-12 4:39
memberEddy Vluggen5-Nov-12 4:39 
QuestionCreate a button in the context menu for each selected contact. Pin
csharpcomeintome5-Nov-12 0:22
membercsharpcomeintome5-Nov-12 0:22 
AnswerRe: Create a button in the context menu for each selected contact. Pin
Mycroft Holmes5-Nov-12 0:39
memberMycroft Holmes5-Nov-12 0:39 
GeneralRe: Create a button in the context menu for each selected contact. Pin
csharpcomeintome5-Nov-12 2:36
membercsharpcomeintome5-Nov-12 2:36 
GeneralMessage Removed Pin
csharpcomeintome5-Nov-12 2:42
membercsharpcomeintome5-Nov-12 2:42 
GeneralRe: Create a button in the context menu for each selected contact. Pin
Dave Kreskowiak5-Nov-12 3:18
mvpDave Kreskowiak5-Nov-12 3:18 
GeneralRe: Create a button in the context menu for each selected contact. Pin
J4amieC5-Nov-12 3:28
memberJ4amieC5-Nov-12 3:28 
GeneralRe: Create a button in the context menu for each selected contact. Pin
csharpcomeintome5-Nov-12 5:21
membercsharpcomeintome5-Nov-12 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web02 | 2.8.170424.1 | Last Updated 26 Apr 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid