Is there some way to return the My.Application information for the dll instead of the application the dll is loaded into?
Example, I Have a plugin called PluginTest and it's AssemblyName is PluginTest. I have a function in the plugin interface that fetches the Name of the plugin, I was hoping to simply return My.Application.Info.AssemblyName, but this instead returns the AssemblyName of the main application that the plugin is loaded into. Likewise I wanted to be able to pull the version like this but it has the same problem. It would be a lot more convenient to only have to update things like the version in one location instead of saving it to a variable as well as changing it in the Assembly Information.
Thanks!
Example, I Have a plugin called PluginTest and it's AssemblyName is PluginTest. I have a function in the plugin interface that fetches the Name of the plugin, I was hoping to simply return My.Application.Info.AssemblyName, but this instead returns the AssemblyName of the main application that the plugin is loaded into. Likewise I wanted to be able to pull the version like this but it has the same problem. It would be a lot more convenient to only have to update things like the version in one location instead of saving it to a variable as well as changing it in the Assembly Information.
Thanks!