0

In .NET Framework I was able to add images to the project ressources and get them via Properties.Resources.resource_name. I've tried the same thing with a .NET 6 Forms app. Intellicode suggests me my ressource

var tmp = Properties.Resources.icon_refresh; 

However when ever I hit this line of code I get the following error message:

System.Resources.MissingManifestResourceException: "Could not find the resource "Properties.Resources.resources" among the resources

Am I missing something important for the .NET 6 app?

Marvin Klein
  • 1,436
  • 10
  • 33
  • Does this answer your question? [Embedded resource in .Net Core libraries](https://stackoverflow.com/questions/38762368/embedded-resource-in-net-core-libraries) – Mark Benningfield Dec 08 '22 at 17:10

0 Answers0