tags:

views:

223

answers:

1

Hi, Is there a way to bind the hudson successful build's number in the C# WPF application? Meaning, on running the exe after building I want to show the build number say 10 in my application somewhere. In project configuration file, I have used ${BUILD_NUMBER}, that a hudson understands and creates a build with the revision number. If I build the Project revision # 10, I get 10.exe. Can I have something that will show this number somewhere in my application? Hope I am clear. Please help.

A: 

I'm not sure what Hudson is, but MSBUILD can do this. See this link

vanja.
I included the AssemblyInfo tmport and Tag<AssemblyInfo.... > I bounded build number to ${Build_number} of hudson. Now it got replaced. But my major.minor.Revision.build is giving me < . . buildnumber. > i.e: major, minor and revision places are empty.
Sukan