c# how to print AssemblyFileVersion -


How can I print the version of the program running in my log? In other words, can I use AssemblyFileVersion using the console. WrightLine?

Thanks Tony

It seems that something like this will work:

  public stable string version {meet {assembly asm = assembly.getExecutingAssembly (); FileVersionInfo FV = FileIvarianEnfo.footerdienfo (asm.Location); Return String.Format ("{0}. {1}", FVA.Product MajorPart, FVI ProductManartPart); }}  


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -