Many times, especially our older Codebank entries, they are distributed as ZIP files which of course will make you come across the described error:

Couldn't process file <SomeFile> 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.

Sounds like a dumb thing to have to make a tutorial on, but for whatever reason simply right clicking on a ZIP folder and clicking unblock won't unblock it. I guess its one more reason for me to hate Windows 11....

Getting straight to it now;

  1. Go to the ZIP Folder, and unzip it
  2. Right click the unzipped folder and copy the file path.
  3. Open Windows Terminal
  4. Paste in
    Code:
    Get-ChildItem -Recurse "FilePATH" | Unblock-File
  5. Press Enter and celebrate as you can now use the VS Project file you downloaded without having to replace your monitor or curse Microsofts' name for the 12th time.