I would like to change the text shown in the screenshot below, depending on the product name. I know that the text is taken from the Assembly.Title property, which is a read-only property and therefore cannot be changed at runtime. So how do I change it at compile time? We sell the application to several customers, and the name of the application must change for each customer. We have configurations for each client. Therefore, during assembly, the assembly header should be selected according to the configuration.

Any suggestion how to solve this?
Update:
I tried some of the suggestions given in the comments and found the following:
After I set the text using the assembly pop-up window from the project properties or changing it directly in the AssemblyInfo.cs file, it displays correctly on the taskbar.
If I changed it again, the changed text does not appear on the taskbar, i.e. it shows all the time of the text that was set to FIRST time .
I tried to delete the files, even restarting the system, but that did not help.
Then I renamed the file (i.e. the exe file) and then it showed the changed text correctly .
If I rename it back to the original name, it will display the first text set.
What could be the reason?
source
share