Tôi có một ứng dụng WPF. Trong khi xây dựng nó Tôi nhận được lỗi sau:Ngoại lệ từ HRESULT: 0x80070057 (E_INVALIDARG)
Could not load file or assembly or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
ứng dụng đang cố gắng tải lắp ráp từ ổ đĩa ảo (như gỡ lỗi Folder)
Ex: [subst r: c: [tôi bin hội PTH]
Trước đó tôi đã gắn c: \ bin làm ổ đĩa mạng và bị lỗi sau.
This assembly may have been downloaded from the Web. If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information.
Chỉnh sửa: Tôi không thể tìm thấy nút Bỏ chặn trong cửa sổ thuộc tính bằng cách này.
này [trả lời] (https: // stackoverflow .com/a/11743430/465053) từ một bài đăng có liên quan rất hữu ích. – RBT