Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to load resource (.resx) file because it is not trusted

Tags:

c#

windows

I am facing an issue while building windows source in Visual studio 2017. Showing the error message mentioned in the title.

Anyone have any idea about this error message?

like image 754
Ali Azam Avatar asked Jan 25 '19 04:01

Ali Azam


1 Answers

Finally I could have resolved the issue as below:

  1. Open the file explorer. Navigate to project/solution directory
  2. Search for *.resx. --> You will get list of resx files
  3. Right click the resx file, open the properties and check the option 'Unblock'
  4. Repeat #3 for each resx file.
  5. Reload the project.
like image 198
Ali Azam Avatar answered Oct 05 '22 18:10

Ali Azam