How do I modify my settings to allow VS2010 to load 3rd party XSD files from the “Unauthorized Zone”?

孤街醉人 提交于 2019-11-30 06:02:18
AndyWilson

Had this issue myself - it was actually because Win 7 had blocked the schema files due to them being copied in from a network location.

To unblock individual files navigate to the file and use Properties > Unblock

For multiple files it's quickest to use Sysinternals' Streams to bulk change the location as described in this blog post.

Use Powershell command prompt:

Get-Item "C:\<path to folder with blocked files>\*\*.*" | Unblock-File

https://technet.microsoft.com/en-us/library/hh849924.aspx

I had the same situation that I did not have unblock button. In my case helped the following If Windows policy does not allow to unlock.

  1. Try to archive the file eg. with 7zip in local drive (but not any shared drive and not directory of Onedrive/Dropbox/etc.. because those soft can add zones to files depending on system configuration).
  2. Then unpack the archive to another local directory
  3. File now should be without unauthorized zone.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!