Displaying Version Number C#

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi, I want to print my WPF C# applications publish version number in a lable at the top of my screen, and I though the code to do that was <br/><span style="color:#2b91af;font-size:x-small <span style="color:#2b91af;font-size:x-small <font size=2 color="#2b91af <font size=2 color="#2b91af
lable.content = Assembly
</font></font><font size=2 color="#2b91af
 
</font>
<span style="font-size:x-small .GetExecutingAssembly().GetName().verson();<br/><br/>but that returns 1.0.0.0, and my publish version is 1.0.0.10,<br/><br/>any help would be great.<br/><br/>thanks again

View the full article
 
Back
Top