C# Couldn’t process file xxx.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file

Go to xxx.resx file in Windows File Explorer. Right-click and select properties. At the bottom of the the dialog is an “unblock” option:

Unblock option

Check this and click Apply. Clean your solution and it will build.

Leave a Comment