A
alexSimpler
Guest
Now, Im not sure this is the right place for me to post this, but I couldn't find a c++/cli category.
Hello so recently on my project I changed the icon of the window form app on the properties > window Style > Icon and I even added a resource file with the icon inside it:
View: https://i.imgur.com/1d338v7.png
,but whenever I launch my app, I get this error:
System.Resources.MissingManifestResourceException: 'Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "formApp.MyForm.resources" was correctly embedded or linked into assembly "formApp" at compile time, or that all the satellite assemblies required are loadable and fully signed.'
at this line:
this->Icon = (cli::safe_cast<System:rawing::Icon^>(resources->GetObject(L"$this.Icon")));
Any idea on how I could fix that?
Thanks in advance.
Continue reading...
Hello so recently on my project I changed the icon of the window form app on the properties > window Style > Icon and I even added a resource file with the icon inside it:
View: https://i.imgur.com/1d338v7.png
,but whenever I launch my app, I get this error:
System.Resources.MissingManifestResourceException: 'Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "formApp.MyForm.resources" was correctly embedded or linked into assembly "formApp" at compile time, or that all the satellite assemblies required are loadable and fully signed.'
at this line:
this->Icon = (cli::safe_cast<System:rawing::Icon^>(resources->GetObject(L"$this.Icon")));
Any idea on how I could fix that?
Thanks in advance.
Continue reading...