I'm deploying now a WPF c# project and want to put the clickonce version (rather than the assymbly or product version) on the screen title.
I used to do it in Win form application with the following way. But it seems that it is not the way in WPF applications. I search on Google bu didn't find anything. Please help.
ApplicationDeployment ad = ApplicationDeployment.CurrentDeployment;
lblVer.Text = "V" + ad.CurrentVersion.ToString();
lblVer.Text = "V" + Application.ProductVersion.ToString();
I fount the problem.
I had to add reference to
That is why I couldn't use it. This dll is for winforms also.