I would like to get the name of the entry assembly, e.g., myApp.exe. Previously in net45, I would use Assembly.GetEntryAssembly, but this is not available in Profile 158. Are there any alternatives? (Could I chain Assembly.GetCallingAssembly all the way back?) Any tips much appreciated.
Using GetEntryAssembly, I can determine the name of the application. I use this name for the UserAgent in HttpClient calls as well as for naming files and tagging feedback with the originating application. Alternative methods to get the name of the application would be appreciated.