Проблемы с файлом resx
Проект не хочет компилироваться.
Ошибка:
не удалось обработать файл «Form.resx», так как он находится в Интернете или ограниченной зоне либо имеет веб-метку. Чтобы обрабатывать такие файлы, следует удалить веб-метку
Добавлено через 55 секунд
При попытке открыть файл «Form.resx» пишет невозможно загрузить из-за отсутствия доверия
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
Ответы с готовыми решениями:
Проблемы с .exe файлом
При запуске .exe файла выводит сообщение: "Версия этого файла несовместима с использованием.
Проблемы с файлом css
Добрый день, в шаблоне требуется немного изменить стиль: изменить цвет меню и убрать картинку перед.
Проблемы с командным файлом
Здравствуйте! Есть следующее задание: 1. Вывести на экран текущую дату. 2. Установить текущим.
Проблемы с XML файлом.
mr_dronski вы писали программку для Нади. Мне тоже нужно было такуюже написать, но там структура.
Couldn’t process file resx due to its being in the Internet or Restricted zone or having the mark of the web on the file
If you downloaded the file from the internet, either separately or inside a .zip file or similar, it may have been «locked» because it is flagged as coming from the internet zone. Many programs will use this as a sign that the content should not be trusted.
The simplest solution is to right-click the file in Windows Explorer, select Properties, and along the bottom of this dialog, you should have an «Unblock» option. Remember to click OK to accept the change.
If you got the file from an archive, it is usually better to unblock the archive first, if the file is flagged as coming from the internet zone, and you unzip it, that flag might propagate to many of the files you just unarchived. If you unblock first, the unarchived files should be fine.
There’s also a Powershell command for this, Unblock-File:
> Unblock-File *
Additionally, there are ways to write code that will remove the lock as well.
From the comments by @Defcon1: You can also combine Unblock-File with Get-ChildItem to create a pipeline that unblocks file recursively. Since Unblock-File has no way to find files recursively by itself, you have to use Get-ChildItem to do that part.
> Get-ChildItem -Path '' -Recurse | Unblock-File
