'Couldn't process file Properties\Resources.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file

I have tried opening the resources file, selecting the resources, properties, and checking "Unblock". Then i reloaded the project and it didn't work. Is there any way round this? Ps I have many pictures in my Resources but only when we added the audio files (WAV files), this error occured.



Solution 1:[1]

After trying all the solutions listed in these:

And still couldn't get it working, I ended up converting the embedded image into a .png file and made a link to that in the .resx. It's just a couple of clicks in Visual studio as I described in my original comment: https://stackoverflow.com/a/71799430/15001063

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Davit Escobedo