I cannot get ClearScript running within my existing .NET 4.0 MVC application. I cannot build ClearScript (apparently, please correct me if I am wrong) because I am still using VS 2010. So I followed the instructions on using NuGet; however, after running
into problems I followed the instructions form this thread:
My application is built and deployed, but when I try to load any pages I am now getting a 'System.ExecutionEngineException' from IIS at mscorlib.dll!System.Reflection.RuntimeAssembly.InternalLoadAssemblyByName(System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence
assemblySecurity, System.Reflection.RuntimeAssembly reqAssembly, ref System.Threading.StackCrawlMark stackMark, System.IntPtr pPrivHostBinder, bool throwOnFileNotFound, bool forIntrospection, bool suppressSecurityChecks)
I have ClearScript.dll setup as a Project Reference:
And both 64-bit native .dlls as Content Files:
What am I doing wrong?