❔ Visual Studio build error: "mark of the web"???
Get this error every time I try to build my project. All I did was add a toolstrip to a form and now I cannot build and run my project.
8 Replies
I recursively used
Unblock-File
in powershell to try to remove this mark, but it still gives me this error message.Strange, Unblock-File should have removed the mark of the web stream
Run streams.exe on the file
What's the output?
I don't have streams.exe
winget install sysinternals
Okay what I ended up doing is just copying the contents of the file into a new file
and now it builds
Does the original file that it didn't like still exist?
If so I would check if the Zone.Identifier:$Data stream exists on it. Which should have been removed if you ran Unblock-File.
You don't actually need streams.exe, you can do something like this in powershell:
I deleted it. Should've kept it and inspected it beforehand.
Might be in my recycle bin
Lemme check
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.