Error: Couldn’t process file XYZ.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file

Recently i have downloaded a Visual Studio solution from OneDrive and tried to open it in Visual Studio and immediately it has shown error as below.

And also, when i tried to build the solution, VS has shown the complete error as mentioned below.

Error Couldn’t process file Forms\LoginScreen.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files.

After a thorough research, found a solution for this type of issue.

Followed the below steps and resolved the error.

  1. Navigated to the LoginScreen.resx file and changed the properties.

2. Right clicked on LoginScreen.resx file and Checked Unblock option.

3. Clicked on Apply and OK.

4. Relaunched the Visual Studio and error resolved.

I hope this solution helps.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.