Crash right after run

Nov 26, 2014 at 11:46 PM
Hi,

I downloaded version 1.4 from DOWNLOADS section. When I tried to run the executable it crashed. I tried to compile and run it from source code but again I get crash (with exception):
ReflectionAssemblyResolver.cs:34
 _assembly = Assembly.LoadFrom(path);
and exception says:
An unhandled exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll

Additional information: Could not load file or assembly 'file:///C:\code\cinject_src\CInject\bin\Release\log4net.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
however the log4net.dll is present in given directory and it has no external dependencies (except the ones already shipped with .NET : System, System.Xml, System.Data, System.Configuration and mscorlib).

Could you pleas give me a hint where could be the problem? (what else should I check/look for?) Many thanks.
Coordinator
Dec 6, 2014 at 4:28 AM
Can you check if the downloaded assemblies and source code has been marked as trusted?
Also dependent files for LogInjector are

[DependentFiles("CInject.Injections.dll", "LogInject.log4net.xml", "log4net.dll")]

You should have all these in the folder as well.