I have a small project in C# that uses two external dll files. One is the Redmine.Net.Api.dll and the other is NLog.dll. I'm using Visual Studio 2010. I added both files as Reference to my project. The problem is that when I run the project in Debug mode, it compiles, but when I switch to Release, it says:
Error 1 Could not load file or assembly
'file:///C:projectlibRedmine.Net.Api.dll' or one of its
dependencies. Operation is not supported. (Exception from HRESULT:
0x80131515) C:projectSGEN project
How can I fix this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…