To enable upgrade, I did modify the AssebmlyVersion of DLL and didn't change AssemblyFileVersion. I assumed as I changed AssemblyVersion, the installer automatically detects the latest DLL and replace at the time of upgrade. But, upgrade failed to install the latest DLL.
In VS2015 project when I changed the AssemblyVersion, I didn't see the ProductVersion reflecting that. Later when I changed, AssemblyFileVersion then I noticed the ProudctVersion of assembly reflecting the version. Any idea why this behavior?
It seems like adding AssemblyInformationalVersion explicitely in AssemblyInfo.cs would influence the Assembly>Property>Details>Product Version
[assembly: AssemblyInformationalVersion("1.1.1.1")]
NOTE: This attribute is not available by default.
Also, I learnt that AssemblyFileVersion is used for deployment related work by installers and hence in my case it is used as ProductVersion of assembly and AssemblyVersion is not used as Assembly>Property>Details>Product Version.