Dirk
Posts: 73
Joined: 2017-10-05
|
Hello,
we want a consitent Product Version and Product Name of all DLLs we deliver.
This is the case:
- If I build with VS2017 the ProductVersion and the ProductName are updated in adxloader.<addinname>
.dll. The ProductVersion and ProductName are patched for invariant language if I build using VS2017
- If I patch with adxpatch.exe only the ProductVersion is changed.
But the ProductVersion is patched in the "English (United States)" language resource record and therefor not shown in the files property dialog.
How can I patch ADXLOADER*.dll without using visual studio 20XX?
How can I patch the invariant language resource record of the ADXLOADER*.dll instead of the "English (United States)" resource record?
We use Version 8.7.4430.0 and 9.2.4635.0.
In the near future we will upgrade all installations to 9.2.4635.
Best regards,
Dirk |
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello Dirk,
We look into this. I expect that we will respond today or tomorrow.
Andrei Smolin
Add-in Express Team Leader |
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello Dirk,
We are unable to reproduce the issue. What steps do you follow to reproduce it?
Andrei Smolin
Add-in Express Team Leader |
|
Dirk
Posts: 73
Joined: 2017-10-05
|
All steps are done for the 64 bit version too.
0) I copy the C:\Program Files (x86)\Add-in Express\Add-in Express for .NET\Redistributables\adxloader.dll to a folder in the project and rename it to Adxloader.<our add in>.dll
This original dll (8.7.4430.0) contains the version information in the "English(United States)" language resource record.
1) I edit the AssemblyInfo.cs of our project and change:
[assembly: AssemblyProduct("<OurAddInName>")]
[assembly: AssemblyVersion("18.11.1.0")]
2) Then I build the solution using VS2017. The result is that adxloader.<ouraddname>.dll has the product version = 18.11.3.0 and the product name is <OurAddInName>. I can see this in the file property dialog of the adxloader.<ouraddname>.dll.
If I open the dll with visual studio 2017, vs2017 shows me the resources contained in the dll.
There are 2 version records: one in English(United States) and on in Neutral.
The neutral version is 18.11.3.0 and the productname is "<ouraddname>".
The English(United States) record is unchanged.
3) Now I use ADXPATCH.EXE with adxloader.<ouraddname>.dll. and /productversion="1.2.3" Then the version English(United States) resource is updated to 1.2.3. But the neutral record is unchanged.
I have a German operating system and an English version of VS2017.
regards
Dirk |
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello Dirk,
adxloader version 8.7 contains both English and Neutral languages; adxloader version 9.2 contains the Neutral only. You can google for a free tool to delete the English language resource from the 8.7 adxloader that you use or switch to using 9.2.
Andrei Smolin
Add-in Express Team Leader |
|