We seem to be loosing company name, copyright and product name when using Fody.Stamp to set AssemblyInformationalVersionAttribute.
It seems the call to verpatch.exe includes "/va" which indicates it is in replace rather than patch mode.
This seems to cause COMPANY_NAME, COPYRIGHT and PRODUCT_NAME to be lost.
To see this in action run the unit tests and navigate to the directory AssemblyToProcessExistingAttribute\bin\Debug\
In windows explorer right click on the modified dll (AssemblyToProcessExistingAttribute2.dll) and select Properties/Details. When run on windows 7 we can observed that the product name has been wiped and copyright has been set to "Copyright (c) 2009"
It would be useful if Fody.Stamp could run verpatch in patch mode so old values are not lost.
If the code is modified to remove the "/va" and the tests re run the Properties/Details show the correct values.
Hi,
We seem to be loosing company name, copyright and product name when using Fody.Stamp to set AssemblyInformationalVersionAttribute.
It seems the call to verpatch.exe includes "/va" which indicates it is in replace rather than patch mode. This seems to cause COMPANY_NAME, COPYRIGHT and PRODUCT_NAME to be lost.
To see this in action run the unit tests and navigate to the directory AssemblyToProcessExistingAttribute\bin\Debug\
In windows explorer right click on the modified dll (AssemblyToProcessExistingAttribute2.dll) and select Properties/Details. When run on windows 7 we can observed that the product name has been wiped and copyright has been set to "Copyright (c) 2009"
It would be useful if Fody.Stamp could run verpatch in patch mode so old values are not lost.
If the code is modified to remove the "/va" and the tests re run the Properties/Details show the correct values.