I’m wanting to include a system tray icon in my WPF project, and found this resource:
http://www.hardcodet.net/projects/wpf-notifyicon
which looks like it will work beautifully, but it’s written for C# and I’m using VB.net for this project. I downloaded his project and built the notifyicon as a DLL, then added as a reference to my project.
It throws up an error:
Unable to emit assembly: Referenced assembly ‘Hardcodet.Wpf.TaskbarNotification’ does not have a strong name
So I’m trying to figure out the best way to proceed. Do I need to strong name it, or is there a better way to do this?
You will need to add a strong name to the other assembly, or make your project not include a strong name.
Since you’re already building it, you can just add a strong name in the project properties, and rebuild. Once you do that, it should work (without changing the code at all).