Is it save to rename an (entry) assembly (.exe) including it´s configuration file (.config) afterwards? May the .net runtime throw an exception, cause the name is diffrent that the name it was build with?
There are no other assemblies that have dependencies on this file.
The use case is that we run our programm multiple times in our hosting environment as service and we want to identify the programms better in the TaskManager (Internal Support) by including the company name in the file name of the .exe.
Normal name by Build process:
OurApplication.exe
OurApplication.exe.config
New name by Installation process:
OurApplication.CompanyName.exe
OurApplication.CompanyName.exe.config
I have tried this manually once and it seemed to work, but I am unsure if I have missed something.