c# - icon file cannot be found for notifyicon WPF -


the resource can't located, i'm sure super simple , i'm missing something? similar questions on stack didn't me

        app.icon = new notifyicon();         icon.click += new eventhandler(icon_click);         icon.icon = new system.drawing.icon(typeof(app), "icon.ico");         icon.visible = true; 

the icon.ico file in resources.resx

i've tried setting resource , doing clean , rebuild, more solutions?

thanks :)


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -