Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

VS 2010 My.Application information in a plugin

$
0
0
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!

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>